Why the type of parameter is float?
Isn't it boolean?