26.12.2017, 16:12
so I have tried this:
new percents = floatround( num1 / num2 * 100 );
but everytime I do this it returns 0, espect if num1 = num2 it returns 100
so maybe someone knows how to do this in pawn.
also tried without floatround function but no success
new percents = floatround( num1 / num2 * 100 );
but everytime I do this it returns 0, espect if num1 = num2 it returns 100
so maybe someone knows how to do this in pawn.
also tried without floatround function but no success