finished 2.1.3: if condition with float.