DECIMAL Function

Contents

# 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.

#### Sintaksa

DECIMAL("Text"; Radix)

Text is the text to be converted.

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

#### Primjer

=IMREAL("1+3j") vraca 1.

=IMREAL("1+3j") vraca 1.

=IMREAL("1+3j") vraca 1.

Related Topics

DECIMAL wiki page.

BASE

Text Functions