simplify_mixed_numbers
autogen.agentchat.contrib.captainagent.tools.math.simplify_mixed_numbers.simplify_mixed_numbers
simplify_mixed_numbers
Simplifies the sum of two mixed numbers and returns the result as a string in the format ‘a b/c’.
Name | Description |
---|---|
numerator1 | The numerator of the first fraction. |
denominator1 | The denominator of the first fraction. |
numerator2 | The numerator of the second fraction. |
denominator2 | The denominator of the second fraction. |
whole_number1 | The whole number part of the first mixed number. |
whole_number2 | The whole number part of the second mixed number. |