home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / QBAS / PBC22B.ZIP / PBC$BAS.ZIP / CEILD.BAS < prev    next >
BASIC Source File  |  1993-01-01  |  546b  |  14 lines

  1. '   +----------------------------------------------------------------------+
  2. '   |                                                                      |
  3. '   |        PBClone  Copyright (c) 1990-1993  Thomas G. Hanlin III        |
  4. '   |                                                                      |
  5. '   +----------------------------------------------------------------------+
  6.  
  7. FUNCTION CeilD# (Number#)
  8.    IF Number# = INT(Number#) THEN
  9.       CeilD# = Number#
  10.    ELSE
  11.       CeilD# = INT(Number#) + 1#
  12.    END IF
  13. END FUNCTION
  14.