Fix to allow entering charge with decimals (i.e. 3.80)