String Float to String

Transforms a Float into a Text.

Settings

in

Input Data flow.

out

Output string(s).

precision

Precision of the displayed numeric value, from integer up to five digits precision. For example:

1
1.1
1.11
1.111
1.1111
1.11111

The precision is set only if format is empty. See bellow.

format

Can be used to specify a format for the output string.

Examples with an input number = 12345.678

  • Decimal : %d (12345)
  • Exponent : %e (1.23456780000000E+004)
  • Fixed 2 digits : %.2f (12345.68)
  • General : %g (12345.678)
  • 12 width fixed 2 digits : %12.2f ( 12345.68)

See also

Edit All Pages