Difference between revisions of "Documentation/How Tos/Calc: N function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(Initial content) |
m |
||
(14 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE:N function}} |
+ | {{Documentation/CalcFunc InformationTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_ISTEXT_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_NA_function | ||
+ | }}__NOTOC__ | ||
== N == | == N == | ||
Line 8: | Line 13: | ||
<tt>'''N(value)'''</tt> | <tt>'''N(value)'''</tt> | ||
− | : | + | : returns the numeric value of <tt>'''value'''</tt> if possible. It returns the logical values <tt>'''TRUE'''</tt> and <tt>'''FALSE'''</tt> as <tt>'''1'''</tt> and <tt>'''0'''</tt> respectively. |
+ | |||
+ | : <tt>'''N()'''</tt> is not intended to convert text to a number - use the <tt>'''VALUE()'''</tt> function instead. | ||
Line 21: | Line 28: | ||
: where A3 contains <tt>'''FALSE'''</tt>, returns <tt>'''0'''</tt>. | : where A3 contains <tt>'''FALSE'''</tt>, returns <tt>'''0'''</tt>. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | {{SeeAlso|EN| | ||
+ | * [[Documentation/How_Tos/Calc: ISNUMBER function|ISNUMBER]] | ||
+ | * [[Documentation/How_Tos/Calc: VALUE function|VALUE]] | ||
+ | * [[Documentation/How_Tos/Calc: T function|T]] | ||
+ | * [[Documentation/How_Tos/Calc: TEXT function|TEXT]] | ||
+ | * [[Documentation/How_Tos/Calc: FIXED function|FIXED]] | ||
+ | * [[Documentation/How_Tos/Calc: DECIMAL function|DECIMAL]] | ||
− | + | * [[Documentation/How_Tos/Calc: Information functions|Information functions]] | |
− | + | ||
− | + | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | |
+ | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||
+ | [[Category: Documentation/Reference/Calc/Information functions]] |