Ruby Programming Language Question: Download Questions PDF
Explain about Float, Dig and Max?
![Ruby Interview Answer Ruby Interview Question](https://globalguideline.com/public/images/interview/2.png)
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.
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 Question | Next Question |
Explain about interpolation? | How does ruby deal with extremely large numbers? |