Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FUNCTION ceil (x AS _FLOAT)
- DIM decimal AS _FLOAT
- decimal = x - FIX(x)
- ceil = FIX(x)
- IF decimal > 0 THEN ceil = ceil + 1
- END FUNCTION
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement