Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Valid Format Specifiers for Numeric Data Types

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

The following table shows which format specifiers are valid for each data type. If a cell contains X, the format is invalid for that data type. If the cell contains , the format is valid for that data type. If the data type changes and the current format is not allowed with the new data type or if the cell is labeled -+, LabVIEW changes the format to the default format for that data type. For example, setting the format of a double-precision, floating-point data type to absolute time is valid, but when you change the double-precision, floating-point data type to a long signed integer data type, the format changes to decimal format.

Format Specifier T
t
x
o
b
d
u
f
e
g
p
#
^
Data Types
Absolute Time
Relative Time
Hexadecimal
Octal
Binary
Signed
Unsigned
Floating-
Point
Scientific
Notation
Scientific Notation or
Floating-Point,
Based on
Exponent
SI Prefix
Auto
Precision
(Remove
Trailing 0s)
Engineering
Notation
Time Stamp X X X X X X X X X X X X
Complex types (CXT, CDB, CSG) X X X X X -+ -+
Real floating-point types (EXT, DBL, SGL) -+ -+ X X X -+ -+
Integer types (U64, I64, U32, I32, U16, I16, U8, I8) -+ -+ -+ -+ -+ -+ -+ -+
Fixed-point type (FXP) X X

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit