You are viewing a single comment's thread. Return to all comments →
I think , it can be done in this way also
int iTotalCost = (int)(dTotalCost); if(iTotalCost+1 < dTotalCost+0.5) iTotalCost++;
Seems like cookies are disabled on this browser, please enable them to open this website
Day 2: Operators
You are viewing a single comment's thread. Return to all comments →
I think , it can be done in this way also