# Decimal: toNumber()
Converts the current decimal to number.
WARNING
It's strictly recommended to convert a decimal to number
only if it's really
intended as the operation is not safe and can lead to precision loss.
- Example
import { decimal, } from "@reiryoku/mida";
const commission = decimal("0.0000000000001");
const numberCommission = commission.toNumber();