From 3:00AM CST Saturday, August 15 – 10:00PM CST Saturday August 15, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

# Number to Engineering String (G Dataflow)

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, ...).

## 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: 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: 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: FALSE

## engineering string

number represented as an engineering string.

The following table shows how the values of number, width, and precision affect engineering string. In this table, the underline character ( _ ) represents a space in engineering string.
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.

Where This Node Can Run:

Desktop OS: Windows

FPGA: All devices (only within an optimized FPGA VI)

Web Server: Supported in VIs that run in a web application