Get the next from a negative number : next « Number « Ruby






Get the next from a negative number


-24.next # => -23

 

Related examples in the same category

1.Next from 2008 as an integer
2.Get the next value for a positive number
3.next number of 999