Added caching for float-conversion.