FractionString extension

Extension method that adds Fraction functionalities to String.

on

Properties

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

Methods

toFraction() Fraction
Converts the string into a Fraction.