Number To Octal String Function

FlexRIO Help

Edition Date: November 2015

Part Number: 372614J-01

»View Product Info

»Download the Help in ZIP Format

Owning Palette: String/Number Conversion Functions

Requires: Base Development System

Converts number to a string of octal digits at least width characters wide or wider if necessary. If number is floating-point or fixed-point, it is rounded to a 64-bit integer before conversion.

The connector pane displays the default data types for this polymorphic function.

number can be a scalar number, array or cluster of numbers, array of clusters of numbers, and so on.
width must be numeric. If unwired, the function uses exactly as many digits as are needed to represent the number, with no extra padding.
octal integer string is the resulting octal string. The following table shows how the values of number and width affect octal integer string.
numberwidthoctal integer stringComments
340003
423052
–4.2337777777774–4.2 is rounded up to –4 in 64-bit integer format. width is too small to represent the octal version of a negative number, so the field width is extended.

WAS THIS ARTICLE HELPFUL?

Not Helpful