AngouriMath
AsSingleFraction(System.String)
Method (no overloads)
Summary
Parses the given expression and writes it as a single fraction: one numerator over one
denominator, nothing cancelled. See AsSingleFraction.
denominator, nothing cancelled. See AsSingleFraction.
Returns
The expression as one fraction, or unchanged where it has no division in it
Example
Console.WriteLine("a + b/c".AsSingleFraction());Prints
(a * c + b) / cAngouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4862 pages online