Added float fixing code.