Converts the String representation of a number to its Int32Fraction equivalent.
An Int32Fraction value equivalent to string.
The value parameter contains a number of the form:
[sign]digits/[sign]digits
Items in square brackets ([ and ]) are optional; and the values of the other items are as follows.
sign
An optional sign.
digits
A sequence of digits ranging from 0 to 9.
Samples:
Int32Fraction value1 = Int32Fraction.Parse("1/6");
Int32Fraction value2 = Int32Fraction.Parse("-5/60");
Int32Fraction Class | ElementIT.ImageProperties Namespace | Int32Fraction.Parse Overload List