Ceil

From Mesham
Revision as of 12:47, 13 January 2013 by Polas (talk | contribs) (Created page with '== Overview == This ceil(d) function will find the smallest integer greater than or equal to ''d''. * '''Pass:''' A double to find the ceil of * '''Returns:''' An integer repres…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Overview

This ceil(d) function will find the smallest integer greater than or equal to d.

  • Pass: A double to find the ceil of
  • Returns: An integer representing the ceiling

Example

#include <maths>
var a:=ceil(10.5);
var y:=ceil(a);