Contents



DH_
FloatCeil & DH_FloatFloor

Next

Function:

Calculates the ceiling function: the smallest integer not less than the input. For example, ceiling(2.5) = 3   ceiling(-2.5) = -2



Calculates the floor function: the largest integer less than or equal to the input. For example, floor(2.5) = 2   floor(-2.5) = -3
 


Left-hand side pins:

Value In - Any Float value x.

Value Out - ceiling(x) or floor(x)

Right-hand side pin:

Value Out - ceiling(x) or floor(x)