Answer Posted / 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 |
Post New Answer View All Answers