Difference between revisions of "NL/Documentation/How Tos/Calc: functie OCT.N.DEC"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Automated text replacement %s)
m (Voorbeeld:)
 
(One intermediate revision by one other user not shown)
Line 22: Line 22:
 
: geeft <tt>'''-2'''</tt> terug als een (decimaal) getal.
 
: geeft <tt>'''-2'''</tt> terug als een (decimaal) getal.
  
{{Documentation/nl/ZieOok|
+
{{NL/Documentation/ZieOok|
* [[Documentation/nl/How_Tos/Calc: functie BIN.N.DEC|BIN.N.DEC]]
+
* [[NL/Documentation/How_Tos/Calc: functie BIN.N.DEC|BIN.N.DEC]]
* [[Documentation/nl/How_Tos/Calc: functie BIN.N.HEX|BIN.N.HEX]]
+
* [[NL/Documentation/How_Tos/Calc: functie BIN.N.HEX|BIN.N.HEX]]
* [[Documentation/nl/How_Tos/Calc: functie BIN.N.OCT|BIN.N.OCT]]
+
* [[NL/Documentation/How_Tos/Calc: functie BIN.N.OCT|BIN.N.OCT]]
* [[Documentation/nl/How_Tos/Calc: functie DEC.N.BIN|DEC.N.BIN]]
+
* [[NL/Documentation/How_Tos/Calc: functie DEC.N.BIN|DEC.N.BIN]]
* [[Documentation/nl/How_Tos/Calc: functie DEC.N.HEX|DEC.N.HEX]]
+
* [[NL/Documentation/How_Tos/Calc: functie DEC.N.HEX|DEC.N.HEX]]
* [[Documentation/nl/How_Tos/Calc: functie DEC.N.OCT|DEC.N.OCT]]
+
* [[NL/Documentation/How_Tos/Calc: functie DEC.N.OCT|DEC.N.OCT]]
* [[Documentation/nl/How_Tos/Calc: functie HEX.N.BIN|HEX.N.BIN]]
+
* [[NL/Documentation/How_Tos/Calc: functie HEX.N.BIN|HEX.N.BIN]]
* [[Documentation/nl/How_Tos/Calc: functie HEX.N.DEC|HEX.N.DEC]]
+
* [[NL/Documentation/How_Tos/Calc: functie HEX.N.DEC|HEX.N.DEC]]
* [[Documentation/nl/How_Tos/Calc: functie HEX.N.OCT|HEX.N.OCT]]
+
* [[NL/Documentation/How_Tos/Calc: functie HEX.N.OCT|HEX.N.OCT]]
* [[Documentation/nl/How_Tos/Calc: functie OCT.N.BIN|OCT.N.BIN]]
+
* [[NL/Documentation/How_Tos/Calc: functie OCT.N.BIN|OCT.N.BIN]]
* [[Documentation/nl/How_Tos/Calc: functie OCT.N.HEX|OCT.N.HEX]]
+
* [[NL/Documentation/How_Tos/Calc: functie OCT.N.HEX|OCT.N.HEX]]
  
* [[Documentation/nl/How_Tos/Calc: functie DECIMAAL|DECIMAAL]]
+
* [[NL/Documentation/How_Tos/Calc: functie DECIMAAL|DECIMAAL]]
  
* [[Documentation/nl/How_Tos/Calc: Functies voor converteren van getallen|Functies voor converteren van getallen]]
+
* [[NL/Documentation/How_Tos/Calc: Functies voor converteren van getallen|Functies voor converteren van getallen]]
  
* [[Documentation/nl/How_Tos/Calc: Functies alfabetisch gesorteerd|Functies - alfabetisch gesorteerd]],
+
* [[NL/Documentation/How_Tos/Calc: Functies alfabetisch gesorteerd|Functies - alfabetisch gesorteerd]]
* [[Documentation/nl/How_Tos/Calc: Functies gesorteerd per categorie|Functies - gesorteerd per categorie]]}}
+
* [[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:33, 28 January 2024


OCT.N.DEC

Converteert een octaal getal naar een decimaal getal.

Deze functie is alleen beschikbaar als de Analysis AddIn is geïnstalleerd.

Syntaxis:

OCT.N.DEC(octaal_getal)

geeft een (decimaal) getal terug, na opgeven van octaal_getal, wat tekst of een getal mag zijn (waarvan wordt aangenomen dat het octaal is, hoewel het dat niet is).
octaal_getal mag maximaal tien cijfers hebben in 2-complement representatie; positieve getallen zijn 0 tot en met 3777777777 (0 tot en met 229-1 decimaal representerend) en negatieve getallen 7777777777 tot en met 4000000000 (-1 to -229 decimaal representerend).

Voorbeeld:

OCT.N.DEC("31")

geeft 25 terug als een (decimaal) getal.

OCT.N.DEC(31)

geeft 25 terug als een (decimaal) getal. Het getal 31 wordt als hexadecimaal gelezen.

OCT.N.DEC("7777777776")

geeft -2 terug als een (decimaal) getal.

Zie ook

Personal tools