How to Convert Decimal Dollars to Fractional Using DOLLARFR in Excel

When you are architecting a fixed-income trading algorithm or analyzing historical bond prices, the mathematical format of the data is critical. Legacy securities are often quoted in fractional dollars (e.g., 102 and 1/8) rather than modern decimals (102.125). If your database requires the legacy format for downstream processing, you must force the Microsoft Excel engine to execute a reverse geometric translation using the DOLLARFR function.

Understanding the DOLLARFR Architecture

The DOLLARFR (Dollar Fractional) function is a highly specialized financial translation engine. It intercepts a standard decimal number and algorithmically recalculates it back into a fractional integer matrix, based on a specific denominator you define.

The syntax requires exactly two mandatory arguments: =DOLLARFR(decimal_dollar, fraction)

  • decimal_dollar: The absolute decimal number you need to convert (e.g., 102.125).
  • fraction: The mathematical integer representing the denominator of the fraction you want to use (e.g., 8 for eighths, 32 for thirty-seconds).

Executing the Fractional Translation

Imagine your trading firm requires bond prices to be displayed in thirty-seconds (the legacy standard for US Treasury bonds). You have a calculated decimal price of $105.75 located in Cell A1. You must translate this into the fractional format.

To execute the precise translation, click an empty cell and type:

=DOLLARFR(A1, 32)

The exact millisecond you press Enter, the Excel engine executes the calculus. It analyzes the decimal portion (.75) and mathematically projects it against a denominator of 32. Since 0.75 is geometrically equivalent to 24/32, the engine outputs the precise integer matrix: 105.24.

Critical Geometric Warning: You must understand how to read this output. 105.24 does not mean one hundred and five dollars and twenty-four cents. It is a mathematical representation of 105 and 24/32. The number to the right of the decimal point is the absolute numerator of the fraction. If the denominator (fraction argument) is less than 0, the function will algorithmically crash and return a #NUM! error.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.