I want to count the number of decimal places (ignoring trailing zeros) in a Float (or NSDecimalNumber) for example:
1.45000 => 2 5.98 => 2 1.00 => 0 0.8
This is terrible