Should wrap the return value to float to make sure we actually got float. Otherwise any valid Python expression goes through and can fail later without error handling.