Directions
Given an integer, return an integer that is the revers ordering of numbers while considering thier sign. Make use of functions where neccesory.
You can code this with any language of you choice!
Examples
reverseInt(15) === 51
reverseInt(981) === 189
reverseInt(500) === 005
reverseInt(-15) === -51
reverseInt(-90) === -90
Directions
Given an integer, return an integer that is the revers ordering of numbers while considering thier sign. Make use of functions where neccesory.
You can code this with any language of you choice!
Examples
reverseInt(15) === 51
reverseInt(981) === 189
reverseInt(500) === 005
reverseInt(-15) === -51
reverseInt(-90) === -90