Replaced float literals with float type casting