decimal numbers in the estimation and spent units

modification to work with decimal numbers in the estimation and spent
units