Takes two mandatory decimal arguments named part and total and returns part expressed as
a percentage of total (part multiplied by 100 then divided by total); when total equals
zero it returns the fixed value zero instead of performing the division.
The result is returned as a plain value, not wrapped in an object.
