Additionally, you should always use double or longdouble because it is more precise than float.
And, when dealing with money, always use integral whole number types (for instance you can just store the number of pennies total or dollars + pennies) because floating point types are inaccurate and will cause mistakes when calculating things with money, even with the precision of longdouble.