Table Of Contents

Number to Octal String (G Dataflow)

Version:
    Last Modified: March 15, 2017

    Converts a numeric value to a string that shows the number's octal format.

    connector_pane_image
    datatype_icon

    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. If this input is floating-point, this node rounds it to a 64-bit integer before conversion.

    datatype_icon

    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.

    datatype_icon

    octal integer string

    number represented as an octal string.

    The following table shows how the values of number and width affect octal integer string.
    number width octal integer string Comments
    3 4 0003
    42 3 052
    -4.2 3 37777777774 -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.

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics