num_02.bmx 323 B

123456789101112131415161718192021
  1. SuperStrict
  2. Framework BRL.StandardIO
  3. Local f1:Float = 2.5
  4. Local f2:Float = 43
  5. Print f1 * f2
  6. Print (f1 * f2)
  7. Print f1 * (f2)
  8. Print f1 / f2
  9. Print (f1 / f2)
  10. Print f1 / (f2)
  11. 'funny... 2^2 gets converted to a long?!!
  12. Print 2^2
  13. 'sqrt
  14. Print 4^(0.5)
  15. 'same like writing 1 / (2^2)
  16. Print 2^-2
  17. Print 10 mod 2