Update README and use float instead of int for conversions