num.abs â numeric
Instance Public methods
Returns the absolute value of num.
1 2 3 | 12 .abs #=> 12 (- 34 . 56 ).abs #=> 34.56 - 34 . 56 .abs #=> 34.56 |
Returns the absolute value of num.
1 2 3 | 12 .abs #=> 12 (- 34 . 56 ).abs #=> 34.56 - 34 . 56 .abs #=> 34.56 |
Designed by : w10schools
service@w10schools.com
Please login to continue.