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.1.2 on Wednesday 8 November 2023. Using Julia version 1.9.3.