www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - floor, ceil equivalent

reply Blonder <andreas schniertshauer.de> writes:
Hello,
I am looking for a floor/ceil function in D, is there an equivalent function,
I haven't found any yet.

Thanks.
Aug 22 2010
parent "Yao G." <nospamyao gmail.com> writes:
On Sun, 22 Aug 2010 13:49:26 -0500, Blonder <andreas schniertshauer.de>  
wrote:

 I am looking for a floor/ceil function in D, is there an equivalent  
 function, I haven't found any yet.
Floor: http://digitalmars.com/d/2.0/phobos/std_math.html#floor Ceil: http://digitalmars.com/d/2.0/phobos/std_math.html#ceil -- Yao G.
Aug 22 2010