dec -- converts numbers into base-10 form.
dec (number)
Any number.
An integer number in decimal format.
This function casts any number to an integer, and returns it in decimal (base-10) representation.
Gamma> dec(0b1100); 12 Gamma> dec(0x3b); 59 Gamma> dec(45.95); 45 Gamma> dec('A'); 65 Gamma>
bin, hex, oct