Decimal

Input: Decimal(s)
$$\operatorname{Decimal}\!\left(s\right)$$

Constructs the rational number represented by the decimal floating-point literal string $s$.

Input: Decimal("3.141592653589793238462643")
$$3.141592653589793238462643$$

A precise approximation of $\pi$.

Input: Equal(Decimal("-6.75e12345"), -Div(675,100) * Pow(10, 12345))
$$-6.75 \cdot 10^{12345} = -\frac{675}{100} \cdot {10}^{12345}$$

A large negative number.

Last updated: 2020-03-06 00:22:16