I have a recipe screen where the ingredients have to equal 100, my problem is that the values can have three decimal places so the tags have to be a Float.
When I type in 13.675 into a text box the Float value is 13.674653425300002303023 etc…
Normally this wouldn’t be an issue but since I have to have exactly 100 no more or less this is throwing off all of my calculations.
I tried reading the double value but that one also gives me the same output (ie… 13.6746534253 )
I tried using an expression and the round function but that didn’t work either.
I’m at a loss on what to try, I know I could build some scripting to take care of it but before i put a few hours into it i wanted to check and see if anyone else had similar issues and what they did to fix it.