DECIMAL(text,base)
DECIMAL function converts a number in base base to decimal.
DECIMAL("A1",16) equals 161.
BASE.