Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Erica Matthews   on Sep 08 In MS Office Category.

  
Question Answered By: Taylor Evans   on Sep 08

The simplest version I think would be:



Public function  Ceiling(ByVal X As Double) As Double

Ceiling = Int(X) - (X - Int(X) > 0)

End Function



Watch out for negative numbers, as David Smart suggested. This function
would round them up.

Share: 

 

This Question has 3 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Ceiling Function in Access Or get search suggestion and latest updates.


Tagged: