Let's say I have 2.5, I'm looking for the function that will return:<br>- 2 (trunc in Pascal).<br>- 0.5 (frac in Pascal).<br>- 3 (round in Pascal).<br><br>I have 10/2, I'm looking for the function that will return:<br>- 4 (div in Pascal).<br>- 2 (mod in Pascal).<br><br>Hope I made myself clear. Thanks.