Difference between revisions of "Documentation/How Tos/Calc: VALUE function"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Syntax:)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{Documentation/MasterTOC
 +
|bookid=1234'''
 +
|booktitle=<div style="padding: 8px; font-size: 140%; font-weight: bold; background-color: #9BC0F5;">CALC FUNCTIONS</div>
 +
|ShowParttitle=block|parttitle=[[Documentation/How_Tos/Calc:_Text_functions|<div style="font-size: 140%;">Text Functions]]
 +
|ShowNextPage=block|NextPage=Documentation/Reference/Calc_functions
 +
|ShowPrevPage=block|PrevPage=Documentation/How_Tos/Calc:_UPPER_function
 +
|ShowPrevPart=block|PrevPart=Documentation/How_Tos/Calc:_Statistical_functions
 +
|ShowNextPart=block|NextPart=Documentation/Reference/Calc_functions
 +
|toccontent= <div style="padding: 4px; font-size: 130%; font-weight: hidden; background-color:#DCE9FC;">FUNCTIONS</div>
  
 +
* [[Documentation/How_Tos/Calc:_BASE_function|<div style="font-size: 120%;">Base]]
 +
* [[Documentation/How_Tos/Calc:_CHAR_function|<div style="font-size: 120%;">Char]]
 +
* [[Documentation/How_Tos/Calc:_CLEAN_function|<div style="font-size: 120%;">Clean]]
 +
* [[Documentation/How_Tos/Calc:_CODE_function|<div style="font-size: 120%;">Code]]
 +
* [[Documentation/How_Tos/Calc:_CONCATENATE_function|<div style="font-size: 120%;">Concatenate]]
 +
* [[Documentation/How_Tos/Calc:_DOLLAR_function|<div style="font-size: 120%;">Dollar]]
 +
* [[Documentation/How_Tos/Calc:_EXACT_function|<div style="font-size: 120%;">Exact]]
 +
* [[Documentation/How_Tos/Calc:_FIND_function|<div style="font-size: 120%;">Find]]
 +
* [[Documentation/How_Tos/Calc:_FIXED_function|<div style="font-size: 120%;">Fixed]]
 +
* [[Documentation/How_Tos/Calc:_LEFT_function|<div style="font-size: 120%;">Left]]
 +
* [[Documentation/How_Tos/Calc:_LEN_function|<div style="font-size: 120%;">Len]]
 +
* [[Documentation/How_Tos/Calc:_LOWER_function|<div style="font-size: 120%;">Lower]]
 +
* [[Documentation/How_Tos/Calc:_MID_function|<div style="font-size: 120%;">Mid]]
 +
* [[Documentation/How_Tos/Calc:_PROPER_function|<div style="font-size: 120%;">Proper]]
 +
* [[Documentation/How_Tos/Calc:_REPLACE_function|<div style="font-size: 120%;">Replace]]
 +
* [[Documentation/How_Tos/Calc:_REPT_function|<div style="font-size: 120%;">Rept]]
 +
* [[Documentation/How_Tos/Calc:_RIGHT_function|<div style="font-size: 120%;">Right]]
 +
* [[Documentation/How_Tos/Calc:_SEARCH_function|<div style="font-size: 120%;">Search]]
 +
* [[Documentation/How_Tos/Calc:_SUBSTITUTE_function|<div style="font-size: 120%;">Substitute]]
 +
* [[Documentation/How_Tos/Calc:_T_function|<div style="font-size: 120%;">T]]
 +
* [[Documentation/How_Tos/Calc:_TEXT_function|<div style="font-size: 120%;">Text]]
 +
* [[Documentation/How_Tos/Calc:_TRIM_function|<div style="font-size: 120%;">Trim]]
 +
* [[Documentation/How_Tos/Calc:_UPPER_function|<div style="font-size: 120%;">Upper]]
 +
* [[Documentation/How_Tos/Calc:_VALUE_function|<div style="font-size: 120%; border-style: double; border-color:#778899;">Value]]
 +
}}__TOC__
 
== VALUE ==
 
== VALUE ==
 
Returns a number, given a text representation.   
 
Returns a number, given a text representation.   
Line 27: Line 60:
 
: returns the datetime serial number for 3rd April 2009.
 
: returns the datetime serial number for 3rd April 2009.
  
=== See also: ===
+
{{SeeAlso|EN|
'''[[Documentation/How_Tos/Calc: TEXT function|TEXT]]''',
+
* [[Documentation/How_Tos/Calc: TEXT function|TEXT]]
'''[[Documentation/How_Tos/Calc: T function|T]]''',
+
* [[Documentation/How_Tos/Calc: T function|T]]
'''[[Documentation/How_Tos/Calc: N function|N]]''',
+
* [[Documentation/How_Tos/Calc: N function|N]]
'''[[Documentation/How_Tos/Calc: DATEVALUE function|DATEVALUE]]''',
+
* [[Documentation/How_Tos/Calc: DATEVALUE function|DATEVALUE]]
'''[[Documentation/How_Tos/Calc: TIMEVALUE function|TIMEVALUE]]'''
+
* [[Documentation/How_Tos/Calc: TIMEVALUE function|TIMEVALUE]]
  
'''[[Documentation/How_Tos/Calc: Text functions|Text functions]]'''
+
* [[Documentation/How_Tos/Calc: Text functions|Text functions]]
  
[[Documentation/How_Tos/Calc: Functions listed alphabetically|'''Functions listed alphabetically''']],
+
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
[[Documentation/How_Tos/Calc: Functions listed by category|'''Functions listed by category''']]
+
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
 +
[[Category: Documentation/Reference/Calc/Text functions]]

Latest revision as of 07:49, 17 July 2018


VALUE

Returns a number, given a text representation.

Syntax:

VALUE(text)

converts text to a number. text may represent: a number, including fractions, exponential notation and (locale dependent) decimal point and thousands separator; a percentage; or a date or time (the datetime serial number is returned).

Example:

VALUE("12")

returns 12 as a number.

VALUE("1,234.56")

returns 1234.56 if your locale recognises the thousands separator ',' and decimal point '.'.

VALUE("1 1/2")

returns 1.5 (fraction).

VALUE("1E3")

returns 1000 (exponential notation).

VALUE("50%")

returns 0.5 (percentage).

VALUE("2009-04-03")

returns the datetime serial number for 3rd April 2009.



See Also
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_VALUE_function&oldid=243405"
Views
Personal tools
Navigation
Tools