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: 

Array string to integer

Solved!
Go to solution

Sorry for asking such a simpe question here.

 

I am receiving a string of numbers such as 11.812. I want to convert this string 11.812 to integer. Currently, I tried using Decimal String to Number but all I get is 11. I need to obtain the precision of 11.812. 

 

Please help thank you !:womanhappy:

0 Kudos
Message 1 of 4
(2,906 Views)
Solution
Accepted by topic author pokerprof

Try using the Fract/Exp String To Number function.

0 Kudos
Message 2 of 4
(2,901 Views)

Thank you Darren !

0 Kudos
Message 3 of 4
(2,889 Views)

@pokerprof wrote:

Sorry for asking such a simpe question here.

 

I am receiving a string of numbers such as 11.812. I want to convert this string 11.812 to integer. Currently, I tried using Decimal String to Number but all I get is 11. I need to obtain the precision of 11.812. 

 

Please help thank you !:womanhappy:



Then you dont want an integer. 🙂

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 4 of 4
(2,875 Views)