frac - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


MapleTA[Builtin]

  

frac

  

fraction

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

frac(a, b)

Parameters

a, b

-

integers

Description

• 

The frac command computes a/b and reduces it to lowest terms. For example, the fractions "4/8" and "2/6" are presented as 1/2 and 1/3, in simplest form.

• 

This is done automatically in Maple when you compute a/b, so this function is purely to complete coverage of the Maple T.A. built-in functions.  To prevent this from happening in Maple consider using the InertForm package.

Examples

MapleTA:-Builtin:-frac4,8

12

(1)

Compatibility

• 

The MapleTA[Builtin][frac] command was introduced in Maple 18.

• 

For more information on Maple 18 changes, see Updates in Maple 18.

See Also

InertForm

MapleTA