Arithmetic/Rational: Difference between revisions
Content deleted Content added
D entry: removed small bug |
|||
Line 2,215: | Line 2,215: | ||
def __int__(self): |
def __int__(self): |
||
return (self.numerator // self.denominator)</lang> |
return (self.numerator // self.denominator)</lang> |
||
=={{header|Racket}}== |
|||
Racket always had support for exact rational numbers as a native numeric type. |
|||
=={{header|REXX}}== |
=={{header|REXX}}== |