FormatNumber Function

Formats a real value and returns a string representation of it.


Number Type Compulsory Default Description
1 real Yes number
2 real Yes significant digits
3 string No 'eng' format

Argument 3

Format options are:
'eng' (default if omitted). Formats the number using engineering units
'noeng' Normal format. Will use 'E' if necessary
'%' Formats as a percentage


Return type: real