divide method

divide

Creates a fraction with this numerator and specified denominator

Returns

new fraction

def divide(self, denominator):
    ...
ParameterTypeDescription
denominatorIMathElementDenominator

divide

Creates a fraction with this numerator and specified denominator

Returns

new fraction

def divide(self, denominator):
    ...
ParameterTypeDescription
denominatorstrDenominator

divide

Creates a fraction of the specified type with this numerator and specified denominator

Returns

new fraction

def divide(self, denominator, fraction_type):
    ...
ParameterTypeDescription
denominatorIMathElementDenominator
fraction_typeMathFractionTypesFraction type: Bar, NoBar, Skewed, Linear

divide

Creates a fraction of the specified type with this numerator and specified denominator

Returns

new fraction

def divide(self, denominator, fraction_type):
    ...
ParameterTypeDescription
denominatorstrDenominator
fraction_typeMathFractionTypesFraction type: Bar, NoBar, Skewed, Linear

See Also