Atom - Ḍ
- Decimal to Integer
Characters: Ḍ
Tags: math , number , array , base
Arity: monadic
This atom is monadic, which means it takes one argument.
Functionality
Convert a list of digits from decimal (base 10) to a number. Vectorizes at depth 1.
Details
The digits don't actually need to be in the appropriate range or even integers. It just adds the last element, ten times the second last element, one hundred times the third last element, etc.
Synonyms
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):
ḅ10$