Scorpion, if you are banned , it means that you can`t read the forum at all ? Or you can`t just post it ?
Here is the thread I started :
http://www.metaquotes.net/forum/1034/
And here is the first reply :
Shimodax 10.09.05 12:55
Try something like:
// get a one with digit zeros behind/ 10, 100, 1000
double f= 1;
for (int i= 0; i<digits; i++) {
f*= 10;
}
// round it up
double result= (int)(roundwhat*p + 0.5);
result/= p;
Markus
----------------------------------------------------------------------------------
If u can read them, then read on, If not I ll be posting them, just tell me.