DECIMAL Function

Contingut

# DECIMAL

Converts text that represents a number in a numeral system with the given base radix to a positive integer. The radix must be in the range 2 to 36. Spaces and tabs are ignored. The Text field is not case-sensitive.

If the radix is 16, a leading x or X or 0x or 0X, and an appended h or H, are disregarded. If the radix is 2, an appended b or B is disregarded. Other characters that do not belong to the numeral system generate an error.

#### Sintaxi

DECIMAL("Text"; BaseDeNumeració)

Text és el text a convertir.

Radix indicates the base of the numeral system. It may be any positive integer between 2 and 36.

#### Exemple

=DECIMAL("17";10) retorna 17.

=DECIMAL("FACE";16) retorna 64206.

=DECIMAL("0101";2) retorna 5.

Temes relacionats

DECIMAL wiki page.

BASE

Funcions de text

Ens cal la vostra ajuda!