Jump to content

Fract/Exp String To Number Issue


Recommended Posts

Alright, the issue I'm seeing is that the Fract/Exp String To Number VI is incorrectly translating some strings to numbers. For instance the number 1.3 is being converted to the number 1.30000000000000004. Yes, it is placing a 4 at the 17th place past the decimal. This happens with a few numbers that I've noticed (different numbers being tacked on the end). Attached is a VI that demonstrates this error. If anyone can think of anyway to get around this please let me know. In the mean time I'll be on the phone with NI to see what the issue is and how to work around it till it is resolved.

Also, while I was getting the VI ready to attach to this post I noticed that even just basic math on numbers can create this same issue. 130 / 100 is comming out with the same results.

Thanks,

Dave Graybeal

Download File:post-4149-1146232154.vi

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.