ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

number format conversion

Hi, I'm quite new of Labview and I can't find a way to manage a simple format conversion: I need to input numbers in a decimal form and transform it to a 5 digit decimal string, beginning with as many zeros as the different 5 minus the length of the number in input (For ex: 1 becomes 00001, 125 becomes 00125).

Can anyone help me? Thanks

0 Kudos
Message 1 of 2
(2,614 Views)

Use the LabVIEW 'Format to String' function as follows:

 

15-11-2013 12-03-50.png


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 2 of 2
(2,612 Views)