Documentation/Calc Functions/DOLLARFR

Function name:
DOLLARFR

Category:
Financial Analysis

Summary:
Converts a quotation that has been given as a decimal number into a mixed decimal fraction.

Syntax:
DOLLARFR(DecimalDollar; Fraction)

Returns:
Returns a mixed decimal fraction.

Arguments:
DecimalDollar is a real number given as a decimal number or a reference to the cell containing that number.

Fraction is a positive whole number that is used as the denominator of the decimal fraction.


 * If Fraction is not an integer, then it will be truncated to an integer.
 * If after truncation Fraction is less than or equal to 0, then the function returns an error value. Alternatively, Fraction should be greater than or equal to 1.

Additional details:

 * The formula for DOLLARFR is:

where Decimal is DecimalDollar and Denominator is Fraction.

Related LibreOffice functions:
[[Special:MyLanguage/Documentation/Calc_Functions/DOLLARDE DOLLARDE]

[[Special:MyLanguage/Documentation/Calc_Functions/TRUNC TRUNC]

ODF standard:
Section 6.12.17, part 2

Equivalent Excel functions:
DOLLARFR