Just keep all your figures multiplied by 100 and only deal in integers.
Then convert to string yourself when displaying them.
In other words, if you want to keep 5.35 in a variable, multiply it by 100 and have 535 in the variable, when you want to print it, convert to string and insert decimal two places from the right.
Then convert to string yourself when displaying them.
In other words, if you want to keep 5.35 in a variable, multiply it by 100 and have 535 in the variable, when you want to print it, convert to string and insert decimal two places from the right.