percentage
Calculate the percentage one number represents of another by dividing the part by the whole and multiplying by 100. Returns an error if the whole is zero.
Instructions
Compute what percentage 'part' is of 'whole'.
Args: part: The partial amount. whole: The total amount. Must not be zero.
Returns: A string with the percentage part is of whole, or an error message if whole is zero.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| part | Yes | ||
| whole | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |