Ruby Programming Language Question:
Download Questions PDF

Explain about Float, Dig and Max?


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 Interview Questions And Answers PDF

Previous QuestionNext Question
Explain about interpolation?How does ruby deal with extremely large numbers?