Hi friends,
in php the ceil() function returns the value of a number rounded UPWARDS to the nearest integer.
Is There Any function to returns the value of a number rounded UPWARDS to the nearest integer in basic4ppc?
Please Help Me
jothis
:sign0085:
in php the ceil() function returns the value of a number rounded UPWARDS to the nearest integer.
B4X:
eg:
echo(ceil(0.60) . "<br />");
echo(ceil(0.40) . "<br />");
echo(ceil(5) . "<br />");
echo(ceil(5.1) . "<br />");
echo(ceil(-5.1) . "<br />");
echo(ceil(-5.9))
this will return as follows
1
1
5
6
-5
-5
Is There Any function to returns the value of a number rounded UPWARDS to the nearest integer in basic4ppc?
Please Help Me
jothis
:sign0085:
Last edited: