ITOS – Integer number to string conversion

Block SymbolLicensing group: STANDARD
Qt SVG Document Exported by REXYGEN Studio n sy ITOS

Function Description
The ITOS block is used for converting an integer into text. The len parameter specifies the minimum length of the output string. If the number has a smaller number of digits, zeroes or spaces will be added according to the mode parameter. The radix parameter specifies the numerical system in which the conversion is to be performed. The output string does not contain any identification of the numerical system used (e.g. the 0x prefix for the hexadecimal system).

This block propagates the signal quality. More information can be found in the 1.4 section.

Input

n

Integer input of the block

Long (I32)

Parameter

len

Minimum length of output string   0  30

Long (I32)

mode

Output string format  1

Long (I32)

1 ....

Align right, fill with spaces

2 ....

Align right, fill with zeroes

3 ....

Align left, fill with spaces

radix

Radix  10

Long (I32)

2 ....

Binary

8 ....

Octal

10 ...

Decimal

16 ...

Hexadecimal

Output

sy

String output value

String

2024 © REX Controls s.r.o., www.rexygen.com