float() now accepts type float in addition to strings