# DOLLARFR Function

> Convert a decimal dollar price to a price written as a fraction with DOLLARFR in TX Sheet Control: the fraction denominator, the error cases and an example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Function
- **Path:** TX Sheet Control > API Reference > Formula Functions > DOLLARFR Function
- **211 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/dollarfr/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/dollarfr/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/dollarfr/llms-full.txt

---

Convert a decimal dollar price to a dollar price written as a fraction. `fractional_or_decimal_dollar` is the decimal number and `fraction` the denominator; the numerator of the fraction becomes the digits after the decimal point. A fraction of 0 returns `#DIV/0!`, and a negative fraction `#NUM!`.

### Syntax

```text
DOLLARFR(fractional_or_decimal_dollar, fraction)
```

Category: Financial. Minimum arguments: 2. Maximum arguments: 2.

Available for supported offline calculation.

### Examples

```text
=DOLLARFR(1.02,16)
```

The formula returns 1.0032: 0.02 is 0.32 sixteenths, so the result reads 1 and 0.32/16.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

### See Also

- [Formulas](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/formulas/llms-full.txt)
- [Custom Functions and Formula Data](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/custom-functions/llms-full.txt)

---

## Nearby

- **Previous:** [DOLLARDE Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/dollarde/llms-full.txt)
- **Next:** [DPRODUCT Function](https://docs.textcontrol.com/tx-sheet-control/reference/formula-functions/dproduct/llms-full.txt)
