added: ensure_float