Solved Different Decimal Place for Different calculations

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

ZhengYueMoon

Member
Mar 9, 2022
17
0
1
24
Hi! Im kinda a newbie to skript , I was making my custom RPG system , and i have a attributes system which have a function while with right click it can add half of ur points avaliable in it , but i need it end up with NO decimal so it wont break if the points remaining is a odd number, but i want to have a speed rate multiply system , and player's default walk speed is 0.2 , and i want to make it go like 0.2 * {_speedrate) something like that , but since i set the number accuracy to 0 , it end up be 0 if the rate is like below 10 , so can i go like no decimal for the attributes calculation and with decimal in the speed rate calculation?
 
Status
Not open for further replies.