Number to Engineering String
- Updated2023-02-17
- 3 minute(s) read
Number to Engineering String
Converts a numeric value to a string that shows the number's engineering format.
Engineering format is similar to exponential format, except the exponent is a multiple of three (..., -3, 0, 3, 6, ...).
Inputs/Outputs

number
A number to be converted into a string.
This input can also be any data type that contains only numbers, such as an array of numbers or a cluster of numbers.

width
A number specifying how many characters to use to express number as a string.
If width is less than the number of characters required, this node uses exactly as many characters as needed. If width is greater than the number of characters required, this node adds a space on the left side of the output string for each additional character.
Default value: No value — Exactly as many characters as are needed to represent the number, with no extra padding.

precision
A number specifying the number of digits after the decimal point in the output string. The node rounds number to this decimal place.
Default value: 0

use system decimal point?
Boolean specifying whether to use the system decimal separator to designate a decimal point.
| True | This node uses the localized decimal separator. |
| False | This node uses a period as the decimal separator. |
Default value: FALSE

engineering string
number represented as an engineering string.
Examples
| number | width | precision | engineering string | Comments |
|---|---|---|---|---|
| 4.93 | 10 | 2 | _ _ _4.93E+0 | number is rounded, padded with spaces on the left. |
| .49 | 10 | 2 | _490.00E-3 | number is rounded, padded with a space on the left. |
| 61.96 | 8 | 1 | _62.0E+0 | number is rounded, padded with a space on the left. |
| 1789.32 | 8 | 2 | _ 1.79E+3 | number is rounded, padded with a space on the left. |