Difference between revisions of "NL/Documentation/How Tos/Calc: functie BIN.N.DEC"
From Apache OpenOffice Wiki
< NL | Documentation | How Tos
m (moved Documentation/nl/How Tos/Calc: functie BIN.N.DEC to NL/Documentation/How Tos/Calc: functie BIN.N.DEC: Moving NL documentation to the NL NLC section of the Wiki) |
m (→Voorbeeld:) |
||
Line 22: | Line 22: | ||
: geeft <tt>'''-2'''</tt> terug. | : geeft <tt>'''-2'''</tt> terug. | ||
− | {{Documentation | + | {{NL/Documentation/ZieOok| |
− | * [[ | + | * [[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.HEX|DEC.N.HEX]] |
− | * [[ | + | * [[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: functie DECIMAAL|DECIMAAL]] |
− | * [[ | + | * [[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]] |
Revision as of 12:21, 28 January 2024
BIN.N.DEC
Converteert een binair getal naar een decimaal getal.
Deze functie is alleen beschikbaar als de Analysis AddIn is geïnstalleerd.
Syntaxis:
BIN.N.DEC(binairgetal)
- geeft een (decimaal) getal terug, na opgeven van binairgetal, wat tekst mag zijn, of een getal dat alleen de cijfers 1 en 0 bevat (dus het getal lijkt binair te zijn hoewel het dat niet is).
- binairgetal mag maximaal tien bits in twee's complement representatie; positieve getallen zijn 0 tot en met 111111111 (negen bits die 0 tot en met 511 decimaal vertegenwoordigen) en negatieve getallen 1111111111 tot en met 1000000000 (tien bits die -1 tot en met -512 decimaal vertegenwoordigen)
Voorbeeld:
BIN.N.DEC("110")
- geeft 6 terug als een getal.
BIN.N.DEC(110)
- geeft 6 terug. Het getal 110 bevat slechts de cijfers 1 en 0 en kan daarom als binair worden gelezen.
BIN.N.DEC(1111111110)
- geeft -2 terug.
Zie ook