Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- primitive BasicMath
- fun divide(a: U64, b: U64): U64 =>
- a / b
- actor Main
- new create(env: Env) =>
- env.out.print("10 / 0 = " + BasicMath.divide(10,0).string())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement