Rational.FromString (gb.gmp)
Static Function FromString ( String As String [ , Base As Integer ] ) As Rational
Convert a string into a rational number.
The string can be an integer like
"41"
or a fraction like
"41/152"
.
Base is the numerical base between
2
and
36
. It is
10
by default.