Math operators and round number
#1

what operators does pawno support i mean the operator of power (^) does it support it? also how to perform square root on a number(i know i can power the number on 0.5) and how to round a number on 3 digits after dot. thanks
Reply
#2

'^' in pawn xor or something.

To square root you can use floatsqroot and to power floatpower.
Reply
#3

thanks for the answer do you know how to round a number?
Reply
#4

What do you mean

Btw i am Greek Too
Reply
#5

Quote:
Originally Posted by billiout
Посмотреть сообщение
thanks for the answer do you know how to round a number?
https://sampwiki.blast.hk/wiki/Floatround

Rounds a float to an integer.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)