This is an operator override for variables tagged with "Float", which is included by default with a_samp (float.inc to be exact). However, you use "float". Those are not the same things. Also, I think if you define a value with a dot, it will be implicitly treated as a variable with Float tag.