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