subtract
Calculate the difference between two numbers by subtracting the second number from the first number. Get accurate subtraction results for mathematical operations and calculations.
Instructions
Subtract the second number from the first number.
Args:
a: The first number (minuend)
b: The second number (subtrahend)
Returns:
The difference of a and b (a - b)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | ||
| b | Yes |
Input Schema (JSON Schema)
{
"properties": {
"a": {
"title": "A",
"type": "number"
},
"b": {
"title": "B",
"type": "number"
}
},
"required": [
"a",
"b"
],
"type": "object"
}