The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Declaration:function IntPos (InNum: double): longint;

The Pascal functions int and trunc do not process negative and positive numbers in the same way (they are biased towards 0.0), which can cause trouble in some circumstances. Therefore IntPos consistently produces the next integer value which is greater or equal to InNum, regardless of the sign of the number InNum.

Last Update: 2012-Oct-20