Converts a numeric value to an F-format (fractional notation), floating-point string.
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.
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
number represented as a fractional string.
This output can be Inf, -Inf, or NaN if the value you wire to number is infinity or is not a number.
number | width | precision | fractional format string | Comments |
---|---|---|---|---|
4.911 | 6 | 2 | _ _4.91 | number is rounded, padded with spaces on the left. |
.003926 | 8 | 4 | _ _0.0039 | number is rounded, padded with spaces on the left. |
-287.3 | 5 | 0 | _-287 | number is rounded, padded with spaces on the left. |
Where This Node Can Run:
Desktop OS: Windows
FPGA: DAQExpress does not support FPGA devices
Web Server: Supported in VIs that run in a web application