Skip to content

Integer Reversal #5

Description

@xasterKies

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions