[HELP] Decimal number
#5

Quote:
Originally Posted by Konstantinos
View Post
floatround(Time[playerid]/60)
This wouldnt be correct, since by default floatround rounds to the nearest integer, so 1.5 would be rounded upwards to 2. To get just the integer portion and discard the mantissa, pass floatround_tozero as the second argument, like so
Code:
floatround(Time[playerid]/60, floatround_tozero)
Reply


Messages In This Thread
[HELP] Decimal number - by M0HAMMAD - 25.05.2015, 16:06
Re: [HELP] Decimal number - by Sellize - 25.05.2015, 16:08
Re: [HELP] Decimal number - by M0HAMMAD - 25.05.2015, 16:25
Re: [HELP] Decimal number - by Konstantinos - 25.05.2015, 16:27
Re: [HELP] Decimal number - by Macluawn - 25.05.2015, 16:36

Forum Jump:


Users browsing this thread: 1 Guest(s)