Skip to content

Instantly share code, notes, and snippets.

@lmendo
Last active June 2, 2016 06:59
Show Gist options
  • Save lmendo/d90a089c5767d7083f4efb610db82851 to your computer and use it in GitHub Desktop.
Save lmendo/d90a089c5767d7083f4efb610db82851 to your computer and use it in GitHub Desktop.
V!U % obtain an array of the digits of an integer number. It works by converting
% to string, then transposing, then converting to number. Transposition is
% needed so that conversion to number treats each digit separately
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment