ReferenceFunctionsFinancial Functions
DOLLARFR
DOLLARFR: Converts a decimal dollar value into fractional-dollar notation.
Summary
This is the inverse-style formatting helper used for quoted fractional price conventions.
Remarks
fractionis truncated to an integer denominator and must be>= 1.- Sign convention: sign is preserved (
-xmaps to-result). - No periodic rate is involved in this conversion.
- Returns
#NUM!whenfraction < 1after truncation. - Fraction output is encoded by denominator digit width (
ceil(log10(fraction))).
Examples
Example
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
null
Example
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
null
Related functions
FAQ
How does DOLLARFR encode the fractional part?
It scales the numerator into decimal digits based on ceil(log10(fraction)), preserving the input sign.
Runtime metadata
Category
Financial
Signature
DOLLARFR(arg1: Number, arg2: Number)Arity
min 2, max 2
Arguments
arg1Number · Scalar · coercion NumberLenientText
arg2Number · Scalar · coercion NumberLenientText
Caps
PURE
Source