Just cast your double to a float. Also notice that the primitive types can NOT store an infinite set of numbers:
  • April 1, 2022
  • 0 Comments