up
previous
next
2.3.1 Introduction to RAT
Rational numbers can be entered as fractions or as terminating decimals. CoCoA always converts a rational number into a fraction in lowest terms.
Example
/**/ 3.8; 19/5 /**/ N := 4/8; N; 1/2 /**/ type(N); RAT