Back to Adaptive Vision Studio website
You are here: Start » Filter Reference » String » FormatIntegerToString
Creates a string from an integer number using a proper format.
| Name | Type | Range | Description | |
|---|---|---|---|---|
![]() |
inInteger | Integer | Input integer | |
![]() |
inDigitCount | Integer | 0 - 100 | How many characters the output string should have at least |
![]() |
inTrailingCharacter | String | Defines the trailing character | |
![]() |
inForceSignPrinting | Bool | Forces printing the sign of the number even if the number is positive | |
![]() |
inSuffix | String | Defines a suffix. Generally it is an unit of value (eg. mm) | |
![]() |
inSystemBase | Integer | 2 - 16 | The base of the numeral system |
![]() |
outString | String | Output string | |
Applications
Useful for preparing a number for display or communication with specific number of digits, sign etc.
Examples
Description of usage of this filter can be found in examples and tutorial: IO Serial Port Communicator.
Errors
This filter can throw an exception to report error. Read how to deal with errors here: Error Handling
| Error type | Description |
|---|---|
| DomainError | inTrailingCharacter has to be a single character in FormatIntegerToString. |
Complexity Level
This filter is available on Basic Complexity Level.


