RTOS – Real Number to String Conversion

Block SymbolLicensing group: STANDARD
PIC

Function Description
The RTOS converts a real number in u into a string value in su. Precision and format are specified by the prec and mode parameters.

Input

u

Analog input of the block

Double (F64)

Output

sy

String output value

String

Parameters

prec

Precision (number of digits)   0  20 0.00E+00

Long (I32)

mode

Output string format  1

Long (I32)

1 ....

Best fit

2 ....

Normal

3 ....

Exponential

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