Difference between revisions of "Manuals/calci/DOLLARDE"
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...") |
|||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <div | + | <div style="font-size:30px">'''DOLLARDE (FractionalDollar,Fraction)'''</div><br/> |
− | + | where, | |
+ | *<math>FractionalDollar</math> is a dollar value in fraction | ||
+ | *<math>Fraction</math> is the integer to use as a denominator | ||
+ | **DOLLARDE(), converts a dollar price, expressed as a fraction, into a dollar price, expressed as a decimal number. | ||
− | + | == Description == | |
− | + | DOLLARDE (FractionalDollar,Fraction) | |
− | |||
− | |||
− | |||
− | |||
− | * < | + | *Argument <math>FractionalDollar</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. | ||
+ | *Calci divides the fractional part of <math>FractionalDollar</math> by the specified <math>Fraction</math> value. | ||
− | + | e.g. DOLLARDE(1.07,16) is calculated as ($1 + 7/16 = $1.4375000000000004) | |
− | |||
− | |||
− | + | *<math>Fraction</math> should be >=1, else Calci displays #ERROR message. | |
+ | *If <math>Fraction</math> is not an integer, it is truncated. | ||
− | + | == Examples == | |
− | |||
− | |||
− | + | <div id="6SpaceContent" class="zcontent" align="left"> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <div id=" | ||
{| id="TABLE3" class="SpreadSheet blue" | {| id="TABLE3" class="SpreadSheet blue" | ||
|- class="even" | |- class="even" | ||
− | | class=" " | | + | | class=" " | '''Function''' |
− | + | | class=" " | '''Output''' | |
− | | class=" " | | + | |
− | |||
− | |||
|- class="odd" | |- class="odd" | ||
− | + | | class="sshl_f" |DOLLARDE(1.11,18) | |
− | | class="sshl_f" | 1.11 | + | | class="sshl_f" |1.6111111111111116 |
− | + | ||
− | | class=" | ||
− | |||
|- class="even" | |- class="even" | ||
− | + | | class="sshl_f" |DOLLARDE(10.0,16) | |
− | | class="sshl_f" | | + | | class="sshl_f" |10 |
− | | class=" | + | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- class="odd" | |- class="odd" | ||
− | | class=" " | | + | | class="sshl_f" |DOLLARDE(3.1,20) |
− | + | | class="sshl_f" |3.5000000000000004 | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | class=" | ||
− | |||
|} | |} | ||
− | + | ==Related Videos== | |
− | + | ||
+ | {{#ev:youtube|-RpZ3IduCN0|280|center|DOLLARDE}} | ||
+ | |||
+ | == See Also == | ||
+ | |||
+ | *[[Manuals/calci/DOLLARFR | DOLLARFR]] | ||
+ | *[[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 16:09, 22 August 2018
DOLLARDE (FractionalDollar,Fraction)
where,
- is a dollar value in fraction
- is the integer to use as a denominator
- DOLLARDE(), converts a dollar price, expressed as a fraction, into a dollar price, expressed as a decimal number.
Description
DOLLARDE (FractionalDollar,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 |
Related Videos
See Also
References