Call abs method on positive integer : abs « Number « Ruby






Call abs method on positive integer


40.abs # => 40

 

Related examples in the same category

1.Call abs method on negative integer