Added a float method