20.12.2009, 12:01
Quote:
Originally Posted by kLx
Oh, so it was a float, thanks.
|
if you do it like that it will take the number directly without fractional digits
pawn Код:
new checks = 1000;
new tax = checks*0.02;
printf("%d", tax);