| Server IP : 121.121.20.254 / Your IP : 216.73.216.146 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files/LibreOffice/help/en-US/text/scalc/01/ |
Upload File : |
<!DOCTYPE html>
<html lang="en-US" dir="ltr">
<head>
<base href="../../../../">
<noscript><meta http-equiv="refresh" content="0; URL=../../../../en-US/noscript.html"></noscript>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>NUMBERVALUE </title>
<link rel="shortcut icon" href="media/navigation/favicon.ico">
<link type="text/css" href="normalize.css" rel="Stylesheet">
<link type="text/css" href="prism.css" rel="Stylesheet">
<link type="text/css" href="default.css" rel="Stylesheet">
<script type="text/javascript" src="polyfills.js"></script><script type="text/javascript" src="languages.js"></script><script type="text/javascript" src="en-US/langnames.js"></script><script type="text/javascript" src="flexsearch.debug.js"></script><script type="text/javascript" src="prism.js"></script><script type="text/javascript" src="help2.js" defer></script><script type="text/javascript" src="a11y-toggle.js" defer></script><script type="text/javascript" src="paginathing.js" defer></script><script type="text/javascript" src="en-US/bookmarks.js" defer></script><script type="text/javascript" src="en-US/contents.js" defer></script><script type="text/javascript" src="help.js" defer></script><meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<body>
<header id="TopLeftHeader"><a class="symbol" href="en-US/text/shared/05/new_help.html"><div></div></a><a class="logo" href="en-US/text/shared/05/new_help.html"><p dir="auto">LibreOffice 24.2 Help</p></a><div class="dropdowns"><div class="modules">
<button type="button" data-a11y-toggle="modules-nav" id="modules" aria-haspopup="true" aria-expanded="false" aria-controls="modules-nav">Module</button><nav id="modules-nav" hidden=""></nav>
</div></div></header><aside class="leftside"><input id="accordion-1" name="accordion-menu" type="checkbox"><label for="accordion-1" dir="auto">Contents</label><div id="Contents" class="contents-treeview"></div></aside><div id="SearchFrame"><div id="Bookmarks">
<input id="search-bar" type="search" class="search" placeholder="Search in bookmarks for chosen module" dir="auto"><div class="nav-container" tabindex="0"><nav class="index" dir="auto"></nav></div>
</div></div>
<div id="DisplayArea" itemprop="softwareHelp" itemscope="true" itemtype="http://schema.org/SoftwareApplication">
<a name="bm_id3145621"></a>
<meta itemprop="keywords" content="NUMBERVALUE function">
<a name="bm_id3163820"></a>
<h1 id="hd_id3145621" dir="auto">
<a name="numbervalue_h1"></a>NUMBERVALUE</h1>
<p id="par_id3145087" class="paragraph" dir="auto">
<span class="avis">Converts the string representation of a number into a locale-independent numeric value.</span>
</p>
<div class="embedded">
<a name="4.1"></a>
<div class="tip">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/tip.svg" alt="tip" style="width:40px;height:40px;"></div>
<div class="notetext"><p id="par_id651551401041641" dir="auto">This function is available since LibreOffice 4.1.</p></div>
</div>
<br>
</div>
<p id="par_id3149281" class="paragraph" dir="auto">The input text may be in a locale-dependent or other bespoke format.</p>
<p id="par_id381625600941159" class="paragraph" dir="auto">The output number is formatted as a valid floating point value and shown using the current cell's number format.</p>
<div class="tip">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/tip.svg" alt="tip" style="width:40px;height:40px;"></div>
<div class="notetext"><p id="par_id351625601754290" dir="auto">Refer to the <a target="_top" href="en-US/text/shared/01/05020300.html">Numbers / Format</a> help page to learn how to change the format of numbers in a cell.</p></div>
</div>
<br>
<div class="embedded">
<a name="func_head_syntax"></a>
<h3 id="hd_id126511265112651" dir="auto">Syntax</h3>
</div>
<p id="par_id721625602228575" class="code" dir="auto">NUMBERVALUE(Text[; Decimal Separator[; Group Separator]])</p>
<p id="par_id3154819" class="paragraph" dir="auto"><span class="emph">Text</span> is a string that contains the number to be converted.</p>
<p id="par_id3154820" class="paragraph" dir="auto"><span class="emph">Decimal Separator</span> is a single character that specifies the decimal separator in <span class="emph">Text</span>. It can be omitted if <span class="emph">Text</span> does not include any decimal or group separators.</p>
<p id="par_id3154821" class="paragraph" dir="auto"><span class="emph">Group Separator</span> is a string that specifies the character(s) used as the group separator in <span class="emph">Text</span>. It can be omitted if <span class="emph">Text</span> does not include any group separators. The <span class="emph">Decimal Separator</span> character should not be used in <span class="emph">Group Separator</span>.</p>
<div class="embedded">
<a name="func_head_example"></a>
<h3 id="hd_id980889808898088" dir="auto">Examples</h3>
</div>
<p id="par_id3155841" class="paragraph" dir="auto">
<span class="input" data-tooltip="Click on text to copy to clipboard">=NUMBERVALUE("1.234.567,89"; ","; ".")</span> returns 1234567.89 (considering en-US locale). The function removes the two group separators and changes the decimal separator from a comma to a full stop.</p>
<p id="par_id721625603302860" class="paragraph" dir="auto">
<span class="input" data-tooltip="Click on text to copy to clipboard">=NUMBERVALUE("123·4"; "·")</span> returns 123.4 (considering en-US locale). The function changes the decimal separator from a "·" to a full stop. No group separator is used in the supplied number and so the <span class="emph">Group Separator</span> argument is omitted.</p>
<p id="par_id491625603415715" class="paragraph" dir="auto">
<span class="input" data-tooltip="Click on text to copy to clipboard">=NUMBERVALUE("123e12")</span> returns 1.23E+14 (considering en-US locale). No decimal or group separators are used in the supplied number and so the <span class="emph">Decimal Separator</span> and <span class="emph">Group Separator</span> arguments are omitted.</p>
<p id="par_id801625603497421" class="paragraph" dir="auto">
<span class="input" data-tooltip="Click on text to copy to clipboard">=NUMBERVALUE("1#!234#!567"; "."; "#!")</span> returns 1234567 (considering en-US locale). Note that in this case the group separator is specified as a two-character string.</p>
<a name="relatedtopics"></a><div class="relatedtopics">
<p class="related" itemprop="mentions" dir="auto"><a name="related"></a><span class="emph">Related Topics</span>
</p>
<div class="relatedbody" itemprop="mentions">
<div class="tip">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/tip.svg" alt="tip" style="width:40px;height:40px;"></div>
<div class="notetext"><p id="par_id411677015337340" dir="auto"><a target="_blank" href="https://wiki.documentfoundation.org/Documentation/Calc_Functions/NUMBERVALUE">NUMBERVALUE wiki page</a>.</p></div>
</div>
<br>
<div class="embedded"><p class="embedded" dir="auto"><a target="_top" href="en-US/text/scalc/01/func_value.html">VALUE</a></p></div>
</div>
</div>
</div>
<div id="DonationFrame"></div>
<footer><div id="DEBUG" class="debug">
<h3 class="bug">Help content debug info:</h3>
<p dir="auto">This page is: <a href="https://opengrok.libreoffice.org/xref/help/source/text/scalc/01/func_numbervalue.xhp" target="_blank">/text/scalc/01/func_numbervalue.xhp</a></p>
<p dir="auto">Title is: NUMBERVALUE </p>
<p id="bm_module" dir="auto"></p>
<p id="bm_system" dir="auto"></p>
<p id="bm_HID" dir="auto"></p>
</div></footer>
</body>
</html>