ensure float is returned