Wait. I minunderstood the reason for the parseFloat(). If it is to get rid of trailing '.0' for integers, I can see why you were using it. Both of these approaches seem to have equal chance of bad decimal formatting, but that issue only seems to come up when doing arithmetic on decimals, so I guess this is safe.