Difference between revisions of "Manuals/calci/DOLLARFR"

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">'''DOLLARFR'''</font><font size="2">(</font><fo...")
 
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div id="6SpaceContent" class="zcontent" align="left"> 
+
<div style="font-size:30px">'''DOLLARFR (DecimalDollar,Fraction)'''</div><br/>
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">'''DOLLARFR'''</font><font size="2">(</font><font size="2">'''DD'''</font><font size="2">, </font><font size="2">'''F'''</font><font size="2">)</font></font></font>
+
where,
 +
*<math>DecimalDollar</math> is a dollar value in decimal
 +
*<math>Fraction</math> is the integer to use as a denominator
 +
**DOLLARFR(), converts a dollar price, expressed as a decimal number, into a dollar price, expressed as a fraction.
  
<font color="#000000"><font face="Arial, sans-serif"><font size="2">'''Where 'DD''''</font><font size="2"> is a decimal number and 'F' is the integer to use in the denominator of a fraction.</font></font></font>
+
== Description ==
  
</div>
+
DOLLARFR (DecimalDollar,Fraction)
----
 
<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 decimal into fraction 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>
+
*Argument <math>DecimalDollar</math> is a decimal number to be converted into fraction.
 +
*Argument <math>Fraction</math> is an integer to be used as a denominator in conversion to fractional value.
 +
*Calci divides the fractional part of <math>DecimalDollar</math> by the specified <math>Fraction</math> value.
 +
*<math>Fraction</math> should be &gt;=1, else Calci displays #ERROR message.
 +
*If <math>Fraction</math> is not an integer, it is truncated.
  
</div>
+
== Examples ==
----
 
<div id="12SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="left">
 
  
DOLLARFR
+
<div id="6SpaceContent" class="zcontent" align="left">
 
 
</div></div>
 
----
 
<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">DOLLARFR(DD, F)</font></font></font>
 
 
 
<font color="#000000"><font face="Arial, sans-serif"><font size="2"><nowiki>=DOLLARFR(1.6111,18) is 1.11</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="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" |DOLLARFR(1.611,18)
| class="sshl_f" | 1.6111
+
| class="sshl_f" |1.10998
| class="                     sshl_f " | 18
+
 
| class="                                                                    " |
 
| class=" " |
 
 
|- class="even"
 
|- class="even"
| class="  " | Row2
+
| class="sshl_f" |DOLLARFR(10.0,16)
| class="sshl_f" | 1.11
+
| class="sshl_f" |10
| class="                                                                            " |
+
 
| 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" |DOLLARFR(3.1,20)
| class=" " |
+
| class="sshl_f" |3.02
| 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>
+
==Related Videos==
----
+
 
 +
{{#ev:youtube|v=AUXYkOTkItI|280|center|DOLLARFR}}
 +
 
 +
== See Also ==
 +
 
 +
*[[Manuals/calci/DOLLARDE | DOLLARDE]]
 +
*[[Manuals/calci/DOLLAR | DOLLAR]]
 +
 
 +
==References==
 +
 
 +
*[http://en.wikipedia.org/wiki/Dollar Dollar]
 +
 
 +
 
 +
 
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
 
 +
*[[ Z3 |  Z3 home ]]

Latest revision as of 14:53, 15 November 2018

DOLLARFR (DecimalDollar,Fraction)


where,

  • is a dollar value in decimal
  • is the integer to use as a denominator
    • DOLLARFR(), converts a dollar price, expressed as a decimal number, into a dollar price, expressed as a fraction.

Description

DOLLARFR (DecimalDollar,Fraction)

  • Argument is a decimal number to be converted into fraction.
  • Argument is an integer to be used as a denominator in conversion to fractional value.
  • Calci divides the fractional part of by the specified value.
  • should be >=1, else Calci displays #ERROR message.
  • If is not an integer, it is truncated.

Examples

Function Output
DOLLARFR(1.611,18) 1.10998
DOLLARFR(10.0,16) 10
DOLLARFR(3.1,20) 3.02

Related Videos

DOLLARFR

See Also

References