The numerator function allows the calculation of the numerator of a fraction.
A fraction is a number that is written as follows : `a/b` with a and b integers and b not zero. It's the quotient of a by b, that is to say : `a/b` = a:b. a is the numerator of the fraction and b is the denominator of the fraction. In other words, in a fraction, the numerator term is located above the stroke, the denominator is the end located below the stroke. The calculator with the numerator function used to find the numerator of a fraction or an expression with fractions.
The calculator is able to determine the numerator of a fraction : to find the fraction numerator of `4/5`, enter numerator(`4/5`), after calculation, the result `4` is returned.
The calculator also applies to fractions that contain letters : to pour calculate the fraction numerator of `a/b`, enter numerator(`a/b`) , after calculation, the result `a` is returned.
The numerator function is used on fractions but also to expressions containing fractions, after calculation, the simplified result is returned.
When the numerator function is applied to an algebraic expression, the expression is first converted to a fraction, then the numerator of the fraction obtained is returned. So to find the numerator of the following expression `4/5+3/7`, enter numerator(`4/5+3/7`), after calculation, he fraction obtained is `43/35`, then the function returns the numerator `43`.
The numerator function also applies to literal expressions.
numerator(expression), where expression is an algebraic expression or a fraction.
numerator(`4/5+3/7`), returns 43 numerator(`0.5`), returns 1