Advertisement
Guest User

Untitled

a guest
Jul 21st, 2019
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. primitive BasicMath
  2. fun divide(a: U64, b: U64): U64 =>
  3. a / b
  4.  
  5. actor Main
  6. new create(env: Env) =>
  7. env.out.print("10 / 0 = " + BasicMath.divide(10,0).string())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement