Ruby Programming Language Question:

Explain about Float, Dig and Max?

Tweet Share WhatsApp

Answer:

Float class is used whenever the function changes constantly. It acts as a sub class of numeric. They represent real characters by making use of the native architecture of the double precision floating point.
Max is used whenever there is a huge need of Float.
Dig is used whenever you want to represent a float in decimal digits.

Download Ruby PDF Read All 26 Ruby Questions
Previous QuestionNext Question
Explain about interpolation?How does ruby deal with extremely large numbers?