Home Online Manual
Top
Back: nrows
Forward: nvars
FastBack: Functions and system variables
FastForward: Control structures
Up: Functions
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

5.1.105 numerator

Syntax:
numerator ( number_expression )
Type:
number
Purpose:
returns the numerator of a number.
Example:
 
  ring r = 0, x, dp;
  number n = 3/2;
  numerator(n);
==> 3
See cleardenom; content; denominator.