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.102 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.

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
            User manual for Singular version 4-0-3, 2016, generated by texi2html.