up previous next
***** NOT YET UPDATED TO CoCoA-5: follow with care *****
Rational numbers can be entered as fractions or as terminating
decimals. CoCoA always converts a rational number into a fraction in
lowest terms.
3/5;
3/5
-------------------------------
3.8;
19/5
-------------------------------
N := 4/8;
N;
1/2
-------------------------------
|