# numeric() Function & Examples

Use the numeric() utils function in Calcul.io. Review its syntax, edit working examples, understand the result, and explore related math functions.

## numeric

#### numeric(x)

Try it yourself:

```calculio
numeric("4")
numeric("4", "number")
numeric("4", "bigint")
numeric("4", "BigNumber")
numeric("4", "Fraction")
numeric(4, "Fraction")
numeric(fraction(2, 5), "number")
```

[format](https://calcul.io/function/format/index.md)

---

## numeric(): evaluate an expression numerically

**numeric(expr)** evaluates or converts an expression into a numeric result where possible. It is useful after symbolic work when you need a decimal approximation.

## Exact and approximate results

Numeric evaluation may turn fractions, constants, or symbolic formulas into floating-point values. For example, an expression containing π can be approximated for a chart or measurement, but its exact form may be preferable for algebra.

## Related tools

Use [simplify()](https://calcul.io/function/simplify/index.md) before approximation, [format()](https://calcul.io/function/format/index.md) to control output, and [round()](https://calcul.io/function/round/index.md) only for presentation. [isFinite()](https://calcul.io/function/isFinite/index.md) checks the result and [parse()](https://calcul.io/function/parse/index.md) helps turn expression text into a calculation.

## Caveat

Approximation can lose precision. Retain the original exact expression when subsequent work depends on cancellation or equality.

[All functions](https://calcul.io/functions/index.md)
