From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Re: ascii string into array of decimal numbers

i will get a subarray in integer format . if i want to get that in double format array means what could i do ?? for eg 432.985 means , in integer it will round off and gives the answer  but i need to get as it is in original array format ?? pls provide the solution 

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

Hi bhuvanesh,

 

no need to hijack very old threads…

 

i will get a subarray in integer format .

So your input data is already in some kind of integer datatype?

 

if i want to get that in double format array means what could i do ??

You could convert those integer data to DBL…

 

for eg 432.985 means , in integer it will round off and gives the answer  but i need to get as it is in original array format ??

When you don't want to have integers then why did you read your array as integer? Read it as DBL right from the beginning!

 

pls provide the solution 

Please provide examples of what your source data is, what VI you currently use and what is your desired output!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,225 Views)