Navigation
Name
Rascal
/
Libraries
/
util
/
Math
/
toRat
Synopsis
Convert two numbers to a rational value (not supported on reals).
Function
rat toRat(int numerator, int denominator)
Usage
import util::Math;
[
Edit
] | [
New Subconcept
] | [
Recompile Course
] | [
Warnings
]
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit
ask.rascal-mpl.org
.