cdfFormatFloatString
cdfFormatFloatString(t_string t_scaleFactor) => nil /t_val
Description
This function formats the input string into a value representation, if possible. It formats the input string using the input scale factor, re-converts the value to a string, and then returns the formatted string value. If the input string cannot be converted, the input string is returned with no change to it.
Arguments
Value Returned
|
Specifies that the input string can be formatted using the input scale factor. Else, the input string is returned without any change to it. |
Examples
cdfFormatFloatString("123.4" "m") => "123400.0m"
cdfFormatFloatString("10000" "M") => "0.01M"
Return to top