Atom - D - Integer to Decimal

Characters: D

Tags: math , number , array , vectorize , base

Arity: monadic

This atom is monadic, which means it takes one argument.


Converts an integer to its decimal representation (list of digits)


For floating-point numbers, this atoms adds the floating part to the last digit.


This atom should work roughly the same way as or very similarly in concept to the following code snippets (some edge case exceptions may exist):