Difference between revisions of "NL/Documentation/How Tos/Calc: functie DEC.N.HEX"
From Apache OpenOffice Wiki
< NL | Documentation | How Tos
m (moved Documentation/nl/How Tos/Calc: functie DEC.N.HEX to NL/Documentation/How Tos/Calc: functie DEC.N.HEX: Moving NL documentation to the NL NLC section of the Wiki) |
m (→Voorbeeld:) |
||
Line 27: | Line 27: | ||
: geeft <tt>'''FFFFFFFFFE'''</tt> terug als tekst. | : geeft <tt>'''FFFFFFFFFE'''</tt> terug als tekst. | ||
− | {{Documentation | + | {{NL/Documentation/ZieOok| |
− | * [[ | + | * [[NL/Documentation/How_Tos/Calc: functie BIN.N.DEC|BIN.N.DEC]] |
− | * [[ | + | * [[NL/Documentation/How_Tos/Calc: functie BIN.N.HEX|BIN.N.HEX]] |
− | * [[ | + | * [[NL/Documentation/How_Tos/Calc: functie BIN.N.OCT|BIN.N.OCT]] |
− | * [[ | + | * [[NL/Documentation/How_Tos/Calc: functie DEC.N.BIN|DEC.N.BIN]] |
− | * [[ | + | * [[NL/Documentation/How_Tos/Calc: functie DEC.N.OCT|DEC.N.OCT]] |
− | * [[ | + | * [[NL/Documentation/How_Tos/Calc: functie HEX.N.BIN|HEX.N.BIN]] |
− | * [[ | + | * [[NL/Documentation/How_Tos/Calc: functie HEX.N.DEC|HEX.N.DEC]] |
− | * [[ | + | * [[NL/Documentation/How_Tos/Calc: functie HEX.N.OCT|HEX.N.OCT]] |
− | * [[ | + | * [[NL/Documentation/How_Tos/Calc: functie OCT.N.BIN|OCT.N.BIN]] |
− | * [[ | + | * [[NL/Documentation/How_Tos/Calc: functie OCT.N.DEC|OCT.N.DEC]] |
− | * [[ | + | * [[NL/Documentation/How_Tos/Calc: functie OCT.N.HEX|OCT.N.HEX]] |
− | * [[ | + | * [[NL/Documentation/How_Tos/Calc: Functies voor converteren van getallen|Functies voor converteren van getallen]] |
− | * [[ | + | * [[NL/Documentation/How_Tos/Calc: Functies alfabetisch gesorteerd|Functies - alfabetisch gesorteerd]] |
− | * [[ | + | * [[NL/Documentation/How_Tos/Calc: Functies gesorteerd per categorie|Functies - gesorteerd per categorie]]}} |
[[Category: NL/Documentation/Reference/Calc]] | [[Category: NL/Documentation/Reference/Calc]] |
Latest revision as of 12:26, 28 January 2024
DEC.N.HEX
Converteert een decimaal getal naar een hexadecimaal getal.
Deze functie is alleen beschikbaar als de Analysis AddIn is geïnstalleerd.
Syntaxis:
DEC.N.HEX(getal; aantalcijfers)
- geeft een hexadecimaal getal als tekst terug, na opgeven van het decimale getal, dat moet liggen tussen -239 en 239-1 (inclusief beide) en tekst of een getal mag zijn.
- De uitvoer is een hexadecimaal getal met maximaal tien cijfers in 2-complement representatie.
- aantalcijfers is een optioneel getal dat het aantal terug te geven cijfers specificeert.
Voorbeeld:
DEC.N.HEX(30)
- geeft 1E terug als tekst.
DEC.N.HEX("30")
- geeft 1E terug als tekst. DEC.N.HEX zal een decimaal getal, opgegeven als tekst, accepteren.
DEC.N.HEX(30; 4)
- geeft 001E terug als tekst. Voorloopnullen zijn toegevoegd om tot 4 cijfers te komen.
DEC.N.HEX(-2)
- geeft FFFFFFFFFE terug als tekst.
Zie ook