Difference between revisions of "FR/Documentation/Calc: fonction CNUM"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Voir également :)
Line 32: Line 32:
 
'''[[Documentation/FR/Calc:_fonction_N|N]]''',
 
'''[[Documentation/FR/Calc:_fonction_N|N]]''',
 
'''[[Documentation/FR/Calc:_fonction DATEVAL|DATEVAL]]''',
 
'''[[Documentation/FR/Calc:_fonction DATEVAL|DATEVAL]]''',
'''[[Documentation/FR/Calc:_fonction_TIMEVAL|TIMEVAL]]'''
+
'''[[Documentation/FR/Calc:_fonction_TEMPSVAL|TEMPSVAL]]'''
  
 
'''[[Documentation/FR/Calc:_Fonctions_texte|Fonctions texte]]'''
 
'''[[Documentation/FR/Calc:_Fonctions_texte|Fonctions texte]]'''
Line 38: Line 38:
 
[[Documentation/FR/Calc:_Fonctions_listees_alphabetiquement|'''Fonctions listées alphabétiquement''']],
 
[[Documentation/FR/Calc:_Fonctions_listees_alphabetiquement|'''Fonctions listées alphabétiquement''']],
 
[[Documentation/FR/Calc/Fonctions_listees_par_categories|'''Fonctions listées par catégories''']]
 
[[Documentation/FR/Calc/Fonctions_listees_par_categories|'''Fonctions listées par catégories''']]
 +
 +
{{PDL1}}

Revision as of 11:24, 4 May 2009


CNUM

Renvoie un nombre, une représentation en texte étant donnée.

Syntaxe :

CNUM(texte)

convertit un texte en nombre. texte peut représenter un nombre incluant les fractions, les notations exponentielles et le séparateur décimal et des millier, un pourcentage, une date ou une heure (le numéro de série de la date est renvoyé).

Exemple :

CNUM("12")

renvoie 12 comme un nombre.

CNUM("1 234,56")

renvoie 1234,56 si votre locale est l'espace pour le séparteur de milliers et la virgule pour le séparateur décimal.

CNUM("1 1/2")

renvoie 1,5 (fraction).

CNUM("1E3")

renvoie 1000 (notation exponentielle).

CNUM("50%")

renvoie 0,5 (pourcentage).

CNUM("03-04-2009")

renvoie le numéro de la date pour le 3 Avril 2009.

Voir également :

TEXTE, T, N, DATEVAL, TEMPSVAL

Fonctions texte

Fonctions listées alphabétiquement, Fonctions listées par catégories

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools