Guest User

Untitled

a guest
Nov 30th, 2018
127
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. FUNCTION ceil& (x AS _FLOAT)
  2. DIM decimal AS _FLOAT
  3. decimal = x - FIX(x)
  4. ceil& = FIX(x)
  5. IF decimal > 0 THEN ceil& = ceil& + 1
  6. END FUNCTION
RAW Paste Data