SimpleScript

Documentation - S.percent

Use

s.percent(amount, total)

Description

Returns the percentage of amount in the given total.

Example

v.half = s.percent(25,50)