failed attempts to intercept copy command when the cursor is in the empty text field...
[LeanCalc.git] / help / num
1 NAME
2     num - numerator of a real number
3
4 SYNOPSIS
5     num(x)
6
7 TYPES
8     x           real
9
10     return      integer
11
12 DESCRIPTION
13     For real x, den(x) returns the denominator of x.  In calc,
14     real values are actually rational values.  Each calc real
15     value can be uniquely expressed as:
16
17         n / d
18
19     where:
20
21         n and d are integers
22         gcd(n,d) == 1
23         d > 0
24
25     If x = n/x, then den(x) == n.
26
27 EXAMPLE
28     > print num(7), num(-1.25), num(121/33)
29     7 -5 11
30
31 LIMITS
32     none
33
34 LINK LIBRARY
35     NUMBER *qnum(NUMBER *x)
36
37 SEE ALSO
38     den
39