multiply
Calculate the product of a list of positive or negative numbers with 64-bit floating-point precision. Use fractions or integers in a list format, such as [1, 2, 3], to receive accurate multiplication results.
Instructions
Multiplies a list of positive and/or negative numbers with 64 bit floating point precision and returns a 64 bit float. You need to provide them in the format of a list. For example, [1, 2, 3] would return 6.0. You can also use fractions if you want to, like [1/2, 1/3, 1/4].
Input Schema
Name | Required | Description | Default |
---|---|---|---|
numbers | Yes |
Input Schema (JSON Schema)
{
"properties": {
"numbers": {
"items": {
"anyOf": [
{
"type": "integer"
},
{
"type": "number"
}
]
},
"title": "Numbers",
"type": "array"
}
},
"required": [
"numbers"
],
"type": "object"
}