Fuzion Logo
flang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

fraction

🌌fraction

fraction -- a convenience routine to create a fraction with den = one


To create a fraction that represents a whole number such as

two := fraction 2 1

you can use this routine with one argument and write

two := fraction 2