Delta_G:
Oh no, you should do that as two separate variables then. Or keep it in an int or a long without a decimal and just know which digits are which. Remember floats are approximations and sometimes funny things happen to numbers when one can't be stored exactly in a float.
If you don't believe me go calculate the powers of 2 with the pow() function which returns a float, but store the results in an int instead and print them. When you learn that 2 squared is 3 and 2 cubed is 7 you'll understand what I mean about floats being imprecise.
All values that can be represented by a 16-bit int can be represented exactly by a float. The pow() function just happens not to return exact values in all cases, even with integer arguments.
(In fact, you can store all integers +/- 8388608 exactly in a float.)
Delta_G:
The OP was trying to store two separate numbers one on each side of the decimal. Are you telling me you think that was OK?
No, not in the way OP was trying to do it.
Or are you just being pedantic about what values work or don't work in a float? The OP wasn't trying to store integers.
My intent was to point out that using the pow() function to illustrate the imprecision of floats is misleading, because floats really can be more exact than most people think.