subtract
Perform precise subtraction of two numbers, including integers or fractions, with 64-bit floating point accuracy. Returns the result as a 64-bit float for reliable mathematical computations.
Instructions
Subtracts two numbers with 64 bit floating point precision and returns a 64 bit float. For example, subtracting 5 from 10 would return 5.0. You can also use fractions if you want to, like 1/2 for number_1 and 1/3 for number_2.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
number_1 | Yes | ||
number_2 | Yes |
Input Schema (JSON Schema)
{
"properties": {
"number_1": {
"anyOf": [
{
"type": "integer"
},
{
"type": "number"
}
],
"title": "Number 1"
},
"number_2": {
"anyOf": [
{
"type": "integer"
},
{
"type": "number"
}
],
"title": "Number 2"
}
},
"required": [
"number_1",
"number_2"
],
"type": "object"
}