What is the equivalent of the VB "Fix" fuction in C++?
Thanks
Printable View
What is the equivalent of the VB "Fix" fuction in C++?
Thanks
You can do it by multiplying and using a cast.
one way:
PHP Code:int fix(float a){
a = a*10;
return (int)(a/10);
}
thanks guys...=)