MixedFractionString extension

Adds MixedFraction functionalities to String.

on

Properties

isMixedFraction bool
Checks whether a string contains a valid representation of a mixed fraction in the format 'a b/c'.
no setter

Methods

toMixedFraction() MixedFraction
Converts the string into a Fraction.