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:

Show a friend, family member, or teacher what you've done!

Here is a share link to your code: