Number/String Conversion下載 PDF選擇的小節所選的小節與子小節完整手冊已更新2025-07-30閱讀時間為 2 分鐘LabVIEWAPI 參考LabVIEW G Use the String/Number Conversion functions to convert strings. Number To Decimal String FunctionConverts number to a string of decimal 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.Number To Hexadecimal String FunctionConverts number to a string of hexadecimal digits at least width characters wide or wider if necessary. The digits A-F always appear in uppercase in the output string. If number is floating-point or fixed-point, it is rounded to a 64-bit integer before conversion.Number To Octal String FunctionConverts 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.Number To Fractional String FunctionConverts number to an F-format (fractional notation), floating-point string at least width characters wide or wider if necessary.Number To Exponential String FunctionConverts number to an E-format (exponential notation), floating-point string at least width characters wide or wider if necessary.Number To Engineering String FunctionConverts number to an engineering format, floating-point string at least width characters wide or wider if necessary.Format Value FunctionConverts a number into a regular string according to the format specified in format string and appends this to string.Decimal String To Number FunctionConverts the numeric characters in string, starting at offset, to a decimal integer and returns it in number.Hexadecimal String To Number FunctionInterprets the characters 0 through 9, A through F, and a through f in string starting at offset as a hex integer and returns it in number.Octal String To Number FunctionInterprets the characters 0 through 7 in string starting at offset as an octal integer and returns it in number. This function also returns the index in string of the first character following the number.Fract/Exp String To Number FunctionInterprets the characters 0 through 9, plus, minus, e, E, and the decimal point (usually period) in string starting at offset as a floating-point number in engineering notation, exponential, or fractional format and returns it in number.Scan Value FunctionConverts characters at the beginning of string to the data type represented by default, according to the conversion codes in format string, and returns the converted number in value and the remainder of string after the match in output string.Parent topic: String
Use the String/Number Conversion functions to convert strings. Number To Decimal String FunctionConverts number to a string of decimal 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.Number To Hexadecimal String FunctionConverts number to a string of hexadecimal digits at least width characters wide or wider if necessary. The digits A-F always appear in uppercase in the output string. If number is floating-point or fixed-point, it is rounded to a 64-bit integer before conversion.Number To Octal String FunctionConverts 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.Number To Fractional String FunctionConverts number to an F-format (fractional notation), floating-point string at least width characters wide or wider if necessary.Number To Exponential String FunctionConverts number to an E-format (exponential notation), floating-point string at least width characters wide or wider if necessary.Number To Engineering String FunctionConverts number to an engineering format, floating-point string at least width characters wide or wider if necessary.Format Value FunctionConverts a number into a regular string according to the format specified in format string and appends this to string.Decimal String To Number FunctionConverts the numeric characters in string, starting at offset, to a decimal integer and returns it in number.Hexadecimal String To Number FunctionInterprets the characters 0 through 9, A through F, and a through f in string starting at offset as a hex integer and returns it in number.Octal String To Number FunctionInterprets the characters 0 through 7 in string starting at offset as an octal integer and returns it in number. This function also returns the index in string of the first character following the number.Fract/Exp String To Number FunctionInterprets the characters 0 through 9, plus, minus, e, E, and the decimal point (usually period) in string starting at offset as a floating-point number in engineering notation, exponential, or fractional format and returns it in number.Scan Value FunctionConverts characters at the beginning of string to the data type represented by default, according to the conversion codes in format string, and returns the converted number in value and the remainder of string after the match in output string.Parent topic: String
Use the String/Number Conversion functions to convert strings. Number To Decimal String FunctionConverts number to a string of decimal 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.Number To Hexadecimal String FunctionConverts number to a string of hexadecimal digits at least width characters wide or wider if necessary. The digits A-F always appear in uppercase in the output string. If number is floating-point or fixed-point, it is rounded to a 64-bit integer before conversion.Number To Octal String FunctionConverts 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.Number To Fractional String FunctionConverts number to an F-format (fractional notation), floating-point string at least width characters wide or wider if necessary.Number To Exponential String FunctionConverts number to an E-format (exponential notation), floating-point string at least width characters wide or wider if necessary.Number To Engineering String FunctionConverts number to an engineering format, floating-point string at least width characters wide or wider if necessary.Format Value FunctionConverts a number into a regular string according to the format specified in format string and appends this to string.Decimal String To Number FunctionConverts the numeric characters in string, starting at offset, to a decimal integer and returns it in number.Hexadecimal String To Number FunctionInterprets the characters 0 through 9, A through F, and a through f in string starting at offset as a hex integer and returns it in number.Octal String To Number FunctionInterprets the characters 0 through 7 in string starting at offset as an octal integer and returns it in number. This function also returns the index in string of the first character following the number.Fract/Exp String To Number FunctionInterprets the characters 0 through 9, plus, minus, e, E, and the decimal point (usually period) in string starting at offset as a floating-point number in engineering notation, exponential, or fractional format and returns it in number.Scan Value FunctionConverts characters at the beginning of string to the data type represented by default, according to the conversion codes in format string, and returns the converted number in value and the remainder of string after the match in output string.Parent topic: String