DOLLARDE Function (LibreOffice Calc)
Learn the DOLLARDE function in LibreOffice Calc: Converts a price expressed as a fraction into a price expressed as a decimal.
Verification status: Official documentation referenced; example outcomes independently reasoned or arithmetically checked where stated. Not executed in LibreOffice Calc. How formula examples are checked
Validation scope: Native results mentioned below were recorded in saved LibreOffice Calc 25.2.3.2 Linux evidence on 13 October 2026 at 02:09 UTC. This later review checked its script and artifact hashes, 100 ODS/result comparisons and 68 fresh independent Decimal calculations. Calc was not rerun for this review. Historical observations do not certify other builds, locales or spreadsheet products.
DOLLARDE turns a securities-style price such as 100.05 quoted in thirty-seconds into an ordinary decimal number suitable for arithmetic. In that example, 100.05 means 100 + 5/32, not 100.05 monetary units. The conversion is 100.15625.
Quick answer: =DOLLARDE(1.02;16) returns 1.125: one whole unit plus two sixteenths. This specific example appears in LibreOffice’s Financial Functions Help (the function section is also findable by searching the page for DOLLARDE). The formulas below were independently checked in the native LibreOffice Calc 25.2.3.2 calculation engine on Linux, rather than inferred from Microsoft Excel.
Price-format warning: DOLLARDE is not currency formatting, decimal rounding, or a formula that simply divides the digits after the decimal point. You must know the quotation’s denominator, usually 8, 16, 32, or another positive whole number. A decimal quotation without its denominator can be ambiguous.
Syntax and arguments
=DOLLARDE(FractionalDollar; Fraction)
| Argument | Required | What to supply | Example |
|---|---|---|---|
FractionalDollar |
Yes | A fractional quotation encoded with a decimal point separating the whole portion from the fractional numerator. | 100.05, meaning 100 + 5/32 when the denominator is 32. |
Fraction |
Yes | The positive whole-number denominator used by the quotation. It is not the numerator. | 32 for thirty-seconds, 16 for sixteenths. |
There are two required arguments and no optional arguments or documented defaults. Semicolons are used in the formula examples for the tested English-name Calc installation. The decimal separator and the displayed function-argument separator may differ with your locale and Calc formula settings; use the separators shown in your Calc interface, and check the Formula Bar if a pasted example does not parse.
LibreOffice Help calls the arguments FractionalDollar and Fraction. The OpenDocument 1.4 OpenFormula definition, §6.12.16 gives the corresponding standard form DOLLARDE(Number Fractional; Integer Denominator) and requires a positive denominator. The ODF name is DOLLARDE; this tutorial does not assume Excel-only syntax or an undocumented name alias.
Read the quotation before converting
For a quote of 1.02 using a denominator of 16, the whole part is 1, and the quoted numerator is 2, yielding 1 + 2/16 = 1.125. A price of 1.02 using a denominator of 32, however, means 1 + 2/32 = 1.0625. Thus, the same input value yields different true prices when the denominator changes.
The fractional numerator is recorded as a decimal suffix with enough places for the denominator’s quoted range. For the denominations commonly seen in bond quotations:
| Denominator | How the fractional digits are interpreted | Encoded quote | Actual decimal price |
|---|---|---|---|
8 |
One fractional digit for eighths | 1.1 |
1 + 1/8 = 1.125 |
16 |
Two fractional digits for sixteenths | 1.02 |
1 + 2/16 = 1.125 |
32 |
Two fractional digits for thirty-seconds | 100.05 |
100 + 5/32 = 100.15625 |
128 |
Three fractional digits for 128ths | 1.001 |
1 + 1/128 = 1.0078125 |
A useful warning for entry: 1.10 entered as a number becomes numerically indistinguishable from 1.1. With denominator 32, the latter is read as 10/32, not 1/32: =DOLLARDE(1.1;32) is 1.3125. Adding trailing zeros through number formatting does not alter a stored numerical quotation. If you need to preserve the exact exchange notation, store the display notation in a separate text column, and construct the numeric input deliberately.
Examples you can reproduce
Enter the following formulas directly into blank cells. The decimal numbers in the result column are full-precision values, not results from manually rounding a securities price.
| Calc formula | Expected result | Interpretation |
|---|---|---|
=DOLLARDE(1.02;16) |
1.125 |
1 + 2/16. Official example. |
=DOLLARDE(1.1;8) |
1.125 |
1 + 1/8. Official example. |
=DOLLARDE(1.1;32) |
1.3125 |
1 + 10/32; the .1 suffix does not mean 1/32. |
=DOLLARDE(100.01;32) |
100.03125 |
100 + 1/32. |
=DOLLARDE(100.05;32) |
100.15625 |
100 + 5/32. |
=DOLLARDE(1.15;16) |
1.9375 |
1 + 15/16. |
=DOLLARDE(2.04;16) |
2.25 |
2 + 4/16. |
=DOLLARDE(-1.02;16) |
-1.125 |
Negative whole quotation and fraction. |
=DOLLARDE(1.02;1) |
1.02 |
Denominator 1: the numeric input is unchanged in tested Calc. |
=DOLLARDE(1.02;100) |
1.02 |
Fractional hundredths map to ordinary decimals. |
All ten results above are covered by the saved test evidence or directly follow an independently checked formula; the saved evidence also records many more cases, including noncanonical quotes and numeric precision tests. LibreOffice’s own two illustrated examples are verified against the official Help.
Set up a small quote-conversion table
Put these values into a new sheet:
| Cell | Value | Meaning |
|---|---|---|
A1 |
Quoted price |
Column heading. |
B1 |
Denominator |
Column heading. |
C1 |
Decimal price |
Column heading. |
A2 |
100.05 |
100 plus five thirty-seconds. |
B2 |
32 |
Price quoted in thirty-seconds. |
A3 |
99.12 |
99 plus 12 thirty-seconds. |
B3 |
32 |
Same price convention. |
In C2, enter:
=DOLLARDE(A2;B2)
The expected result is 100.15625. Fill the formula into C3; the result is 99.375, because 12/32 = 0.375. You can now calculate the decimal price difference with =C2-C3, which is 0.78125. Do not subtract the quoted values directly: 100.05-99.12 is a subtraction of codes, not of decoded prices.
For a safer working table, keep an extra text column identifying the pricing convention (32nds, 16ths, and so forth). An imported quote without its denominator is not enough information to reconstruct the original economic value reliably.
How the calculation works
For a positive two-digit fractional quote with denominator 32, DOLLARDE effectively interprets the suffix as a numerator over 32. For 100.05:
whole price = 100
encoded numerator = 05 = 5
fractional value = 5 / 32 = 0.15625
true price = 100 + 0.15625 = 100.15625
For a denominator of 8, the common fractional suffix is one digit; for 16 or 32, two; for 128, three. The decimal-power scaling is why blindly calculating =(A2-TRUNC(A2))/B2 is not equivalent to DOLLARDE for a two-digit quotation.
A pedagogical decomposition for positive, canonical two-digit quotes in thirty-seconds is:
=TRUNC(A2)+((A2-TRUNC(A2))*100)/32
For A2=100.05, the result is 100.15625. This decomposition is for understanding that specific quote format, not a drop-in replacement for all denominators, negative prices, precision cases, or other programs. Prefer the actual DOLLARDE function for routine use.
OpenFormula documentation nuance: ODF 1.4 §6.12.16 publishes a short algebraic expression for DOLLARDE that does not explicitly show the decimal-place scaling needed to reproduce LibreOffice Help’s own
1.02;16example. The exact ODF spelling and positive-denominator constraint are supported, but the printed algebra should not be substituted verbatim for the validated Calc calculation. That discrepancy was reviewed in the official documents; it is not evidence of executing every ODF implementation.
Advanced use
Compare two quoted securities on the same denominator
Suppose the bid is 100.05 and the ask is 100.07, both in thirty-seconds. You can compute the spread as:
=DOLLARDE(100.07;32)-DOLLARDE(100.05;32)
Result: 0.0625, or 2/32. If you instead subtract the quote numbers without decoding, you would calculate 0.02, which is not the economic difference.
Use a denominator stored with each imported quote
If column A contains quoted values and column B contains the denominator for each row, use:
=DOLLARDE(A2;B2)
Copy down. A quote from a sixteenths exchange and one from a thirty-seconds exchange must not share a hardcoded denominator; carry the denominator alongside each quotation.
Reject invalid denominators before converting
For imported data, this simple check prevents common denominator mistakes:
=IF(OR(B2<=0;B2<>TRUNC(B2));"Check denominator";DOLLARDE(A2;B2))
In the usual case it displays the decimal price. If the denominator is zero, negative, or nonintegral, it prints a warning instead. This is a data-quality policy, not a claim that Calc itself rejects all nonintegers: native Calc 25.2.3.2 truncated 2.9 to 2 in this function. This check also does not verify that the quote numerator is in range or on an exchange’s permitted tick grid; that requires separate business-rule validation.
Convert back for display or audit
The inverse function is DOLLARFR. For instance:
=DOLLARFR(DOLLARDE(100.05;32);32)
returns a numeric quote of 100.05 in the tested version. Such round trips verify arithmetic consistency for well-formed quotations, not preservation of original printed notation or zero padding. An invalid numerator can normalize to a different-looking quote after conversion.
Errors, boundaries, and troubleshooting
| Situation | Native Calc 25.2.3.2 observation | What to do |
|---|---|---|
Denominator is 0, for example =DOLLARDE(1.02;0) |
Err:502 |
Supply a positive nonzero denominator. |
Denominator is negative, for example =DOLLARDE(1.02;-2) |
Err:502 |
Correct the denominator. |
Second argument omitted, =DOLLARDE(1.02) |
Err:504 |
Supply both mandatory arguments. |
Denominator is 2.9 |
The tested implementation truncated it to 2; =DOLLARDE(1.02;2.9) gave 1.1. |
Enforce positive whole numbers in your data before calculation. |
Fractional numerator is too large for the denominator, e.g. 1.20 with sixteenths |
The tested implementation returned 2.25 rather than a quote-validity error. | Validate quote conventions rather than assuming a rejected trade quote. |
Fractional component is not a whole tick (1.009 in thirty-seconds) |
The tested implementation returned 1.028125. | Check minimum tick size separately; conversion is not a market-price validator. |
Numeric-looking text argument such as "1.02" |
Coerced successfully in the tested English locale. | Avoid relying on this for mixed-locale imports; convert and validate values explicitly. |
A seemingly wrong result of 1.3125 for input 1.1 with denominator 32 |
Correct numeric quote interpretation of 10/32. | Check the width/semantics of the encoded numerator. |
The error codes and coercion observations are measured Calc 25.2.3.2 behavior, not universal statements for all editions. If you get #NAME? or Err:509, check whether the function name is supported by your installed build, separators match the active formula locale, and the formula has been pasted without typographic quote marks. For numeric text with locale-dependent decimal or grouping marks, examine NUMBERVALUE instead of trusting automatic coercion.
Numerical precision: Calc stores ordinary numeric values with floating-point precision. A native result such as 100.03125000000001 may appear internally in a test harness even when the meaningful price is exactly 100.03125 to the intended scale. Format or round the final monetary presentation according to your requirements; do not round away ticks prematurely before performing spread or portfolio calculations. See ROUND and TRUNC.
Compatibility: LibreOffice, Excel, Google Sheets, and ODF
| Environment | Evidence and caution |
|---|---|
| LibreOffice Calc | DOLLARDE is documented in current 26.8 Help; native Calc 25.2.3.2 execution was tested for this review. The exact error codes above apply to the tested installation. |
| Microsoft Excel | Microsoft documents DOLLARDE and the same first example, but describes #NUM! for a negative denominator and #DIV/0! for a denominator from zero to less than one. Documentation check only; Excel was not run. Excel examples use commas rather than the tested Calc semicolon format. |
| Google Sheets | Google documents DOLLARDE, with a similar fractional-price purpose. Documentation check only; Google Sheets was not run. Adapt formula separators to your sheet’s locale. |
| ODF/OpenFormula | OpenDocument 1.4 §6.12.16 names DOLLARDE and requires a positive denominator. A standard function entry does not by itself guarantee identical errors, numeric formatting, or runtime behavior in every ODF editor. |
Do not assume other applications accept formulas, error codes, or quotes identically because the function name matches. ODF file interchange and imported spreadsheets should be checked on representative data.
Frequently asked questions
Does DOLLARDE convert currencies or exchange rates?
No. It changes the notation of a quotation from whole units plus a fractional numerator to an ordinary decimal value in the same unit. It does not retrieve exchange rates, convert CAD to USD, add currency symbols, or apply a stock-market data feed.
Why does =DOLLARDE(1.1;8) equal =DOLLARDE(1.02;16)?
The first quotation means 1 + 1/8, and the second means 1 + 2/16. Both fractions equal 0.125, so both formulas return 1.125. The two notations can represent the same economic price.
Why is my price 100.05 not $100.05?
If the quote is in thirty-seconds, .05 encodes the numerator 5, so the price is 100 + 5/32 = 100.15625. Without knowing the denominator, you cannot safely interpret the quote.
Is the result already rounded to a market tick?
No. DOLLARDE decodes the supplied number. It does not validate whether the encoded numerator is an integer or below the denominator; tests showed that noncanonical quotes may still calculate successfully. Tick validation is a separate process.
Does it preserve two-digit quote suffixes such as 1.10?
No. 1.10 and 1.1 are the same ordinary numeric value. To preserve a particular market print format, keep the original quote as text in a separate column and manage display conventions separately. DOLLARDE returns a numeric decimal price.
Related functions and research evidence
- DOLLARFR — the inverse: decimal price to fractional quotation.
- TRUNC — isolate an integer component in a validation or explanatory formula.
- MOD — inspect remainders when designing quote validation.
- ROUND — round the final numerical result after calculation.
- NUMBERVALUE — clean numerical imports that use varying separator conventions.
Primary references, reviewed 13 October 2026: LibreOffice Calc 26.8 Financial Functions Help — DOLLARDE; OpenDocument 1.4 OpenFormula §6.12.16; Microsoft Excel DOLLARDE documentation; Google Sheets DOLLARDE documentation. Testing: native LibreOffice Calc 25.2.3.2 (Linux); independent Python Decimal expected-value calculations. No Excel or Sheets execution.