public void Set (int numerator, int denominator);

Parameters

numeratorNew value for the rational numerator.
denominatorNew value for the rational denominator.

Description

Sets the numerator and denominator, performing normalization.