How get float number
#1

Hi,

I need get from float number to simple number but not floatround like that numbers

9.8 - 9
9.7 - 9
9.1 - 9
9.556 - 9
9.665 - 9


100.9898 - 100

100.2255 - 100
Reply
#2

Use floatround_floor to round downwards.
pawn Код:
floatround(9.8, floatround_floor);
https://sampwiki.blast.hk/wiki/Floatround_method
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)