Rational numbers
In julia rational numbers can be constructed with the // operator. Lets define two rational numbers, x and y:
x = 1//31//3y = 2//52//5When adding x and y together we obtain a new rational number:
z = x + y11//15In julia rational numbers can be constructed with the // operator. Lets define two rational numbers, x and y:
x = 1//31//3y = 2//52//5When adding x and y together we obtain a new rational number:
z = x + y11//15Settings
This document was generated with Documenter.jl version 1.5.0 on Friday 13 September 2024. Using Julia version 1.10.5.