script for percent calc

Hi!
I need to do, in my script, this calc:
value * 10%

so, I tried:
shell> :global value “2500”
shell> :put ($value * (10 / 100))

but, there don’t apper anything… someone can help me ?

I do another test:
shell> :put (2500 * 10)
25000
shell> :put (2500 * (10 / 100)
0 —> wrong
shell> :put (2500 * 0.10)
Script Error: cannot multiply time interval by ip prefix → wrong

how can I cast 0.10 to multiply a integer value ?

Thank’s!

Your parentheses are placed wrong! it should not be 2500 * (10 / 100) but (2500 * 10) / 100

Awsome!
Thank you Very Much!