- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All
My Add-in has a couple of Value inputs, one for Shank Width (ShankWidth) and one for Stone Diameter (StoneDia), both are in mm
The values inputed are stored has User Parameters .
here are a few screen shots both set to 4mm, and you can see the user parameters showing 4mm
now with settings set to 2mm
and user parameters
But if I use any number 3.x number I get this
If I entre 3.5 , it will get stored has
3.5000000000000004
3.708 and above is store has it's entered
3.707 becomes 3.7070000000000003 mm
2.999 is fine if I enter 2.9999 it then becomes 2.9999000000000002 mm
Which is does not look so good when I read the value back into the input
Has anyone come across this before?
Cheers, Stephen
Solved! Go to Solution.