sealed class RationalA ratio of two integers (e.g 2/3). public Rational.Constructor(int wholenumber, int numerator=null, int denominator=null)public static Rational Rational.Convert(value)Convert value into type Rational, null if not successfulpublic virtual object.GetLayoutTipReturn a layout for the hint popuppublic virtual object.GetLayoutSpanReturn a layout inside a spanpublic virtual object.GetLayoutBlockReturn a layout inside a blockpublic virtual object.GetSourceReferenceReturn a source reference for this objectpublic virtual void object.GetTexSource(source)LaTeX source code for this objectpublic virtual Icon object.GetIconReturn a icon for this objectpublic virtual int object.Compare(value)Compares this object with another and returns (-1, 0, or 1)Example = Block { "One third = {0}"(1 over 3); "Two and five-sixths = {0}"(new Rational(2, 5, 6)); var x = 5 over 6 + 1 over 3; x; Paragraph { TextDiagonal: true; x; }};One third = 13Two and five-sixths = 256116116