Hi, call Harbour 3.0 function
?ceiling(101.2/2.53)
// 41
// Should be 40.
Regards!
Shuming Wang
#include <stdio.h>
#include <math.h>
int main()
{
printf( "%lf\n", ceil( 101.2 / 2.53 ) );
return 0;
}
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 113 guests