Owning Class: support
Requires: MathScript RT Module
format
format short
format short e
format long
format long e
Modifies the display format of numbers. format short displays numbers in scaled fixed-point format with 4 digits after the decimal point. For example, 100*pi in short format returns 314.1593. format short e displays numbers in floating-point format with 4 digits after the decimal point. For example, 100*pi in short e format returns 3.1416E+002. format long displays numbers in scaled fixed-point format with 15 digits after the decimal point. For example, 100*pi in long format returns 314.159265358979326. format long e displays numbers in floating-point format with 15 digits after the decimal point. For example, 100*pi in long e format returns 3.141592653589793E+002. format is equivalent to format short.
Changes that you make to the display format of numbers with this function apply to all MathScript Nodes in the same application instance as the LabVIEW MathScript Window.
The following table lists the support characteristics of this function.
| Supported in the LabVIEW Run-Time Engine | No (always ignored) |
| Supported on RT targets | Yes |
| Suitable for bounded execution times on RT | Not characterized |
format long
A = sqrt(2)
format short e
B = sqrt(2)
format
C = sqrt(2)