Reverse the digits in a decimal number using a while loop. An auxiliary var worker will help you iteratively produce the result:
while
var worker
result