Is there a way I can set the number of decimal places in a double?
I need to be able to take two doubles, that are the same up to a certain of decimal places, and compare them only up to that point (so truncate after a certain error level)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.