#PlaceholderAPI

1 messages · Page 1 of 1 (latest)

pseudo forge
#

Hello, please tell me how to use the % sign in math PlaceholderAPI

exotic wren
#

Should be [prc]

pseudo forge
#

I've already arrived so it doesn't work

#

Or can you please throw off an example as it should be

frosty tundra
pseudo forge
#

Okay, thank you very much, but what will be used as % which number is 63 or 4?

pseudo forge
#

Ok thank you very much helped me a lot

pseudo forge
#

I get an error on what to do

keen badger
elder vortex
#

@pseudo forge what exactly do you want to do? When I've asked if you want to calculate percentages (your example was 100+10%) you said that my answer helped you 🙂

pseudo forge
pseudo forge
elder vortex
#

What do you want to do? Use modulo N?

#

so 10%6=4?

pseudo forge
#

I need the number to be added with % example 20*3+20% 20-quantity 3-price 20-percent

elder vortex
#

Ok, that's not how you do it

#

20*3 + 20*3*0.20 is the shortest way to add a percentage to a number

#

It is the equivalent of 20*3 + (20*3)*20/100

pseudo forge
#

I understand thank you very much you helped me a lot, have a good day

elder vortex
#

Ok

pseudo forge
#

I also wanted to ask why log:3 doesn't work

#

In math and checkitem?

#

%checkitem_amount_mat:log:3%

pseudo forge
#

Minecraft version 1.12.2

#

Please help

frosty tundra
#

1.12.2 just have wood

pseudo forge
pseudo forge
#

I've tried a lot of things that don't help, I don't know what to do

pseudo forge
#

Sorry, I didn't see it then

pseudo forge
#

Maybe there is something else?