Added float type to convert to json schema number type
Moving code