literal of type double cannot be implicitly converted to type 'float' use an 'f' suffix code example
Example: error CS0664: Literal of type double cannot be implicitly converted to type 'float'; use an 'F' suffix to create a literal of this type
Put an "f" after any number like 0.2, 0.0, 6.7 etc