Floating Point Converter
Here's the page I use to help with value conversions when dealing with Floating Points


Find the box that says - Hexadecimal Representation. It will have a value of 0x00000000

If you enter in 0x3F800000, you will see the top field labeled - Decimal change from 0 to 1.

So let's say you are editing a floating point code that deals with speed and the default speed value is 100kmh. If you want double the speed, enter in 2 for the Decimal value at the top. You will see the bottom result change to 0x40000000. Therefore your floating point value to enter in for the code would be 40000000 to get 200kmh speed.

Forum Jump:

Users browsing this thread: 1 Guest(s)