|
Navigation: Function Reference > General Utility Functions > formatFloat() formatFloat() |
Top Previous Next |
formatFloat( formatting: String; data: Extended ) : String;
Provides formatting of a floating point number into a string.
0 = forces digit display or 0
# = optional digit display
, = forces display of thousands
. = forces display of decimals
E+ = forces signed exponent display
E- = optional exponent display
Parameters
formatting |
string value representing the format |
data |
floating point value |
var s: string;
s := formatFloat( '#,###0', floatVal );