percentage_calculator
Calculate what percentage one number is of another, or determine the value of a given percentage of a total.
Instructions
Calculate percentages: find what % X is of Y, or what is X% of Y.
Parameters:
operation — 'of' (what is X% of Y) or 'what' (what % is X of Y).
value — The value to calculate.
total — Total/whole value (required for 'what' operation).
percent — Percentage (required for 'of' operation).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | ||
| value | Yes | ||
| total | No | ||
| percent | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |