For example, a number of 0.5 and a decimal point (0.5) are both 0.5, but 0.5% would be 0.5, a percent.
The problem was that the floating point library had a bug that made it so that a 0.5 would be treated as a 1.0.
If you’ve ever had to deal with floating points in your life, you will find this is the easiest way to learn them. Just type it in and it will do the parsing for you.
Float parsing is a very simple process. You have to define the precision of the number, then define the minimum and maximum numbers that it can safely parse. Then you have to define a whole bunch of things to deal with the fact that you might have a number in a range that it can’t handle, like negative numbers. The trick is to realize that you aren’t actually dealing with floating point numbers, but integers.