force cast to float (similar to mongo driver)