Rational.ToString (gb.gmp)

Function ToString ( [ Base As Integer ] ) As String

Convert the rational number to its string representation.

Base is the numeric base, 10 by default.

The string will be of the form "Num/Den", or if the denominator is 1 then just "Num".