exact


exact(n)
      

Return an exact representation of the number n.

Examples:


exact(3.0)
// 3

exact(-.25)
// -1/4

exact(1e20)
// 100000000000000000000
      

Also see:

inexact
is_number
is_exact


Core Module Index | Contents