NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Needing to convert a local "numeric" value to a string type using the expression browser.

Solved!
Go to solution

I am trying to convert a "numeric" local value to a string through the expression browser in order to supply a string arguement.  I am currently looking through the expression browser options, but I can not find any type of Number "ToString()" function.

Message 1 of 4
(16,814 Views)

Hi,

 

Str() function

ie

locals.tostring = Str(locals.dec_value)

 

 

Regards
Ray Farmer
Message 2 of 4
(16,811 Views)
Solution
Accepted by mcfrenzy36

Hi you should try this:

 

Str(locals.MyNumeric)

 

Regards

Rodéric L
Certified LabVIEW Architect
0 Kudos
Message 3 of 4
(16,810 Views)

Also you can pass as format string as well with this function. checkout the help for this function

Regards
Ray Farmer
0 Kudos
Message 4 of 4
(16,806 Views)