ratio_simplify
Reduce a ratio a:b to lowest terms, returning decimal and percentage forms to compare and communicate proportions.
Instructions
Simplify a ratio a:b to its lowest terms. Returns decimal and percentage forms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | First value. | |
| b | Yes | Second value (non-zero). |