Explain about Float, Dig and Max?
Answer / Ankita Kumari
Float is a Ruby built-in class representing floating-point numbers. It extends the core Numo module, allowing various mathematical operations. Dig refers to the number of decimal places displayed for a floating-point number. The max method can be used with two or more floating-point numbers as arguments to determine the maximum value.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are ruby blocks.
Tell me can you call a private method outside a ruby class using its object?
Mention what is the command to create a migration?
In how many ways you can compare Ruby string?
What is the difference between nil and false in ruby?
What is concatenating string in ruby. In how many ways you can create a concatenating string.
Do you know about dig, float and max?
List some features of ruby?
Explain about Class variable and global variable?
Explain about garbage collection feature of ruby?
Explain when self.up and self.down method is used?
What does ruby name refers to?