DECIMAL
converts text in given base to number · from excel · excel: not yet compared · sheets: not yet compared
signature
DECIMAL(text, radix)
returns: number
| argument | required |
|---|---|
| text | required |
| radix | required |
examples
formula and result, taken from the engine's own test suite — every result below is asserted in CI, not written by hand.
fx
=DECIMAL("FF", 16) 255 errors
error values observed from the engine — each with a call that produces it.
| error | produced by |
|---|---|
| #VALUE! | =DECIMAL("alpha", 2) |