Difference between revisions of "Manuals/calci/DOLLARDE"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "<div id="6SpaceContent" class="zcontent" align="left">  <font color="#000000"><font face="Arial, sans-serif"><font size="2">'''DOLLARDE'''</font><font size="2">(</font><fo...")
 
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left"> 
+
=DOLLARDE(FD, Fraction)=
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">'''DOLLARDE'''</font><font size="2">(</font><font size="2">'''FD'''</font><font size="2">, </font><font size="2">'''F'''</font><font size="2">)</font></font></font>
+
where,
 +
*<math>FD</math> is a dollar value in fraction
 +
*<math>Fraction</math> is the integer to use as a denominator
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">Where 'FD' is a number expressed as a fraction and 'F' is the integer to use in the denominator of the fraction.</font></font></font>
+
DOLLARDE() converts a dollar price in fraction into decimal dollar price.
  
</div>
+
== Description ==
----
 
<div id="1SpaceContent" class="zcontent" align="left"> <font color="#000000"><font face="Arial, sans-serif"><font size="2">Tis function converts a dollar price which is in fraction into decimal dollar price.</font></font></font></div>
 
----
 
<div id="7SpaceContent" class="zcontent" align="left"> 
 
  
* <font color="#000000"><font face="Arial, sans-serif"><font size="2">Fraction should be grater than 0 </font></font></font>
+
DOLLARDE(FD, Fraction)
  
</div>
+
*Argument <math>FD</math> is a number that is expressed as an integer part and fraction part, seperated by decimal symbol.
----
+
*Argument <math>Fraction</math> is an integer to be used as a denominator in conversion to decimal value.
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
+
*Calci divides the fractional part of <math>FD</math> by the specified <math>Fraction</math> value.
  
DOLLARADE
+
e.g. DOLLARDE(1.07,16) is calculated as ($1 + 7/16 = $1.4375000000000004)
  
</div></div>
+
*<math>Fraction</math> should be &gt;=1, else Calci displays #ERROR message.
----
+
*If <math>Fraction</math> is not an integer, it is truncated.
<div id="8SpaceContent" class="zcontent" align="left"><font color="#000000"><font face="Arial, sans-serif"><font size="2">Lets see an example,</font></font></font>
 
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">DOLLARDE(FD, F)</font></font></font>
+
== Examples ==
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2"><nowiki>=DOLLARDE(1.11,18) is 1.611</nowiki></font></font></font>
+
<div id="6SpaceContent" class="zcontent" align="left">
 
 
<br /><br />
 
 
 
<br /><br />
 
 
 
</div>
 
----
 
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Syntax </div><div class="ZEditBox"><center></center></div></div>
 
----
 
<div id="4SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">Remarks </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">
 
  
 
{| id="TABLE3" class="SpreadSheet blue"
 
{| id="TABLE3" class="SpreadSheet blue"
 
|- class="even"
 
|- class="even"
| class=" " |
+
| class=" " | '''Function'''
| Column1
+
| class="  " | '''Output'''
| class="  " | Column2
+
 
| Column3
 
| Column4
 
 
|- class="odd"
 
|- class="odd"
| class=" " | Row1
+
| class="sshl_f" |DOLLARDE(1.11,18)
| class="sshl_f" | 1.11
+
| class="sshl_f" |1.6111111111111116
| class="sshl_f" | 18
+
 
| class="                                         sshl_f " |
 
| class=" " |
 
 
|- class="even"
 
|- class="even"
| class="  " | Row2
+
| class="sshl_f" |DOLLARDE(10.0,16)
| class="sshl_f" | 1.6111
+
| class="sshl_f" |10
| class="                                                           sshl_f " |
+
 
| class=" " |
 
| class=" " |
 
|- class="odd"
 
| Row3
 
| class="                                                                                                                                                                                  " |
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
|- class="even"
 
| Row4
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
 
|- class="odd"
 
|- class="odd"
| class=" " | Row5
+
| class="sshl_f" |DOLLARDE(3.1,20)
| class=" " |
+
| class="sshl_f" |3.5000000000000004
| class=" " |
 
| class=" " |
 
| class=" " |
 
|- class="even"
 
| Row6
 
| class=" " |
 
| class=" " |
 
| class=" " |
 
| class=" SelectTD  SelectTD" |
 
<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>
 
 
|}
 
|}
  
<div align="left">[[Image:calci1.gif]]</div></div>
+
== See Also ==
----
+
 
 +
*[[Manuals/calci/DOLLARFR | DOLLARFR]]
 +
*[[Manuals/calci/DOLLAR | DOLLAR]]
 +
 
 +
==References==
 +
 
 +
*[http://en.wikipedia.org/wiki/Dollar Dollar]

Revision as of 16:07, 16 January 2014

DOLLARDE(FD, Fraction)

where,

  • is a dollar value in fraction
  • is the integer to use as a denominator

DOLLARDE() converts a dollar price in fraction into decimal dollar price.

Description

DOLLARDE(FD, Fraction)

  • Argument is a number that is expressed as an integer part and fraction part, seperated by decimal symbol.
  • Argument is an integer to be used as a denominator in conversion to decimal value.
  • Calci divides the fractional part of by the specified value.

e.g. DOLLARDE(1.07,16) is calculated as ($1 + 7/16 = $1.4375000000000004)

  • should be >=1, else Calci displays #ERROR message.
  • If is not an integer, it is truncated.

Examples

Function Output
DOLLARDE(1.11,18) 1.6111111111111116
DOLLARDE(10.0,16) 10
DOLLARDE(3.1,20) 3.5000000000000004

See Also

References