Convert Words to a Number
CreatiCode last edited by info-creaticode
Sometimes we get a number written as English words, such as “three”, “twenty”, or “one hundred five”. If we want to run any calculation on this number, we have to convert it to an arabic number first.
You can use this reporter block in the Operators category for the conversion:
It takes one input, which is the number in word format. The returned value is the number in arabic format.
Here are some examples. Note that negative numbers are supported as well.