#Rounding

1 messages · Page 1 of 1 (latest)

buoyant socket
#
    if held item's name is "&7Amateur Clicker":
        if {stick::cooldown::%player's uuid%} isn't set:
            add 2 to {coins::%player's uuid%}
            play sound "entity.experience_orb.pickup" with volume 1 to the player
            set {stick::cooldown::%player's uuid%} to 2 seconds from now
            wait 2 seconds
            delete {stick::cooldown::%player's uuid%}
        else if {stick::cooldown::%player's uuid%} is set:
            send action bar "&cYour stick is on cooldown. &7(%difference between now and {stick::cooldown::%player's uuid%}%)" to player```


Is there a way to round the number being displayed without creating another variable
marble granite
#

round(your number)