float.bmx 163 B

1234567891011121314151617
  1. Rem
  2. Float is a 32 bit floating point BlitzMax primitive type.
  3. End Rem
  4. Local a:float
  5. a=1
  6. for i=1 to 8
  7. print a
  8. a=a*0.1
  9. next
  10. for i=1 to 8
  11. a=a*10
  12. print a
  13. next