Difference between revisions of "Manuals/calci/VALUE"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left"> <font color="#484848"><font face="Arial, sans-serif"><font size="2">'''VALUE'''</font></font></font><font color="#484...")
 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left">
+
<div style="font-size:30px">'''VALUE (Text)'''</div><br/>
 +
where,
 +
*<math>Text</math> is a text that represents a number.
 +
**VALUE() converts a text string representing a number, to a number string.
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2">'''VALUE'''</font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">(</font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">'''txt'''</font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">)</font></font></font>
+
== Description ==
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2">'''where txt'''</font></font></font><font color="#484848"><font face="Arial, sans-serif"><font size="2">   is the text enclosed in quotation marks that want to convert.</font></font></font>
+
VALUE(txt)
  
</div>
+
e.g. VALUE("$1760") returns '''1760''' as a result.
----
 
<div id="1SpaceContent" class="zcontent" align="left">
 
  
<font color="#484848"><font face="Arial, sans-serif"><font size="2">It converts a text string that represents a number to a number.</font></font></font>
+
*VALUE function is used to convert a text containing numbers to a number string.
 +
*<math>Text</math> is a text value and should be enclosed in double quotes (e.g. "$100"), when directly entered in the command.
 +
*<math>Text</math> can be a number, date or time values in proper formats.  
 +
*If <math>Text</math> is invalid, Calci displays #N/A error message.
  
</div>
+
== Examples ==
----
 
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
 
  
VALUE
+
Consider the following examples that demonstrate the use of VALUE function:
  
</div></div>
 
----
 
<div id="8SpaceContent" class="zcontent" align="left">
 
 
<font color="#484848"><font face="Arial, sans-serif"><font size="2">Let’s see an example in (Column1 Row 1)</font></font></font>
 
 
<font color="#666666"><font face="Arial, sans-serif"><font size="2">I.e.=VALUE(C1R1) </font></font></font>
 
 
<font color="#666666"><font face="Arial, sans-serif"><font size="2"><nowiki>=VALUE(“$4760”) is 4760</nowiki></font></font></font>
 
 
</div>
 
----
 
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Syntax </div><div class="ZEditBox"><center></center></div></div>
 
----
 
<div id="3SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Examples </div></div>
 
----
 
<div id="11SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Description </div></div>
 
----
 
 
<div id="2SpaceContent" class="zcontent" align="left">
 
<div id="2SpaceContent" class="zcontent" align="left">
  
 
{| id="TABLE3" class="SpreadSheet blue"
 
{| id="TABLE3" class="SpreadSheet blue"
 
|- class="even"
 
|- class="even"
| class=" " |
+
| class="sshl_f" |$1000
| Column1
+
| class="sshl_f" |08/2/2010
| class=" " | Column2
+
| class="sshl_f" |
| Column3
+
 
| Column4
 
 
|- class="odd"
 
|- class="odd"
| class=" " | Row1
+
| class="sshl_f" |
| class="sshl_f" | 4760
+
| class="sshl_f" |
| class="sshl_f" | 4760
+
| class="sshl_f" |
|
+
 
| class="                                                            sshl_f  " |
 
 
|- class="even"
 
|- class="even"
| class="  " | Row2
 
 
| class="sshl_f" |
 
| class="sshl_f" |
| class="SelectTD SelectTD " |
+
| class="sshl_f" |
<div id="2Space_Handle" title="Click and Drag to resize CALCI Column/Row/Cell. It is EZ!"></div><div id="2Space_Copy" title="Click and Drag over to AutoFill other cells."></div>
+
| class="sshl_f" |
|
 
|
 
|- class="odd"
 
| Row3
 
| class="                                      sshl_f       " |
 
|
 
|
 
|
 
|- class="even"
 
| Row4
 
|
 
|
 
|
 
| class=" " |
 
|- class="odd"
 
| class=" " | Row5
 
|
 
|
 
|
 
|
 
|- class="even"
 
| Row6
 
|
 
|
 
|
 
|
 
 
|}
 
|}
  
<div align="left">[[Image:calci1.gif]]</div></div>
+
=VALUE(A1) : Displays '''1000''' as the output.
----
+
=VALUE(B1) : Converts date to its serial number. Displays '''40392.71486111111''' as the output.
 +
 +
==Related Videos==
 +
 
 +
{{#ev:youtube|e_imlxiHnkE|280|center|VALUE}}
 +
 
 +
== See Also ==
 +
 
 +
*[[Manuals/calci/DATEVALUE | DATEVALUE]]
 +
*[[Manuals/calci/TIMEVALUE | TIMEVALUE]]
 +
 
 +
== References ==
 +
 
 +
*[http://en.wikipedia.org/wiki/String_(computer_science) String]
 +
*[http://en.wikipedia.org/wiki/Text_normalization Text Normalization]
 +
 
 +
 
 +
 
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
 
 +
*[[ Z3 |  Z3 home ]]

Latest revision as of 17:06, 13 August 2018

VALUE (Text)


where,

  • is a text that represents a number.
    • VALUE() converts a text string representing a number, to a number string.

Description

VALUE(txt)

e.g. VALUE("$1760") returns 1760 as a result.

  • VALUE function is used to convert a text containing numbers to a number string.
  • is a text value and should be enclosed in double quotes (e.g. "$100"), when directly entered in the command.
  • can be a number, date or time values in proper formats.
  • If is invalid, Calci displays #N/A error message.

Examples

Consider the following examples that demonstrate the use of VALUE function:

$1000 08/2/2010
=VALUE(A1) : Displays 1000 as the output.
=VALUE(B1) : Converts date to its serial number. Displays 40392.71486111111 as the output.

Related Videos

VALUE

See Also

References