NODE OPERATORS Overview Running a Chainlink Node Fulfilling Requests Run an Ethereum Client Performing System Maintenance Connecting to a Remote Database Configuration Variables Enabling HTTPS Connections Best Security and Operating Practices Best Practices for Nodes on AWS Miscellaneous
ORACLE JOBS Migrating to v2 Jobs Jobs Cron Direct Request Flux Monitor Keeper Off-chain Reporting Webhook Tasks HTTP Bridge JSON Parse CBOR Parse ETH ABI Decode ETH ABI Decode Log ETH ABI Encode ETH Call ETH Tx Multiply Divide Any Mean Median Mode Sum
Divide Task
Divides the provided input
and times
values.
Parameters
input
: the value to be divided. Possible values:- number
- stringified number
- bytes-ified number
$(variable)
divisor
: the value by which to divide theinput
.- number
- stringified number
- bytes-ified number
$(variable)
precision
: the number of decimal places to retain.- number
- stringified number
- bytes-ified number
$(variable)
Outputs
The result of the division.
Example
my_divide_task [type="divide"
input="$(json_parse_result)"
divisor="3"
precision="2"]
Given the input 10
, the task will return 3.33
.