Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.
What data type are you using? Float or double or something else? I would imagine that you would have to use the modulo function for this case. Maybe you would want to mulitply the var by 10x10 and convert it to int (to cut off the remainder) and then divide by 10x10 and convert it into a float. But thats ineffecient, I dont think that you would want to do that. My best recommendation would be to play around with the modulo function (%).
I tried * by 10e10 and then converting to int and then double and then finally dividing by 10e10, but the == operator still is considering them not equal. I'm starting to get pissed off. When I use cout statements and show the variables directly before they are evaluated they print off as being equal.
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.