Ajuda del LibreOffice 25.2
Converts a positive integer to a specified base into a text from the numbering system. The digits 0-9 and the letters A-Z are used.
BASE(Number; Radix [; MinimumLength])
Nombre és l'enter positiu que s'ha de convertir.
Radix indicates the base of the numeral system. It may be any positive integer between 2 and 36.
LongitudMínima (opcional) determina la longitud mínima de la seqüència de caràcters que s'ha creat. Si el text és més curt que la longitud mínima que s'ha indicat, s'afegeixen zeros a l'esquerra de la cadena.
=BASE(17;10;4) retorna 0017 en el sistema decimal.
=BASE(17;2) retorna 10001 en el sistema binari.
=BASE(255;16;4) retorna 00FF en el sistema hexadecimal.