numerator


numerator(n)
      

Return the numerator of the number n.

Examples:


numerator(0)
// 1

numerator(10)
// 10

numerator(2/3)
// 2

numerator(-2.25)
// -9.
      

Also see:

denominator


Core Module Index | Contents