10 or more phones order

Ilja O. vrghost at gmail.com
Mon Apr 28 10:50:09 CEST 2008


>
>  I just can't leave it like that. :-)
>
>  if (phones_ordered % 10 * PRICE_1 > PRICE_10_PACK)
>     phones_ordered += 10 - phones_ordered % 10;

Is this really necessary?
what this code is for?
And where are comments? :)




More information about the community mailing list