MixedFractionString extension

Extension method that adds MixedFraction functionalities to String.

on

Properties

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

Methods

toMixedFraction() MixedFraction
Converts the string into a Fraction.