Difference between revisions of "Manuals/calci/DOLLARFR"

From ZCubes Wiki
Jump to navigation Jump to search
Line 51: Line 51:
  
 
*[http://en.wikipedia.org/wiki/Dollar Dollar]
 
*[http://en.wikipedia.org/wiki/Dollar Dollar]
 +
 +
 +
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
 +
*[[ Z3 |  Z3 home ]]

Revision as of 04:48, 14 March 2017

DOLLARFR(DD, Fraction)

where,

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

DOLLARFR() converts a dollar price in decimal number to dollar price in fraction.

Description

DOLLARFR(DD, 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