Use proper functions and literals for float value