Coding challenge

Without using strings (just integers), write some code that will reverse the digits of a number, so 1234 would become 4321.

Type your code here:


Lua reference

See your results here: