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 on Tuesday 3 March 2020. Using Julia version 1.3.1.