math.add
0.000001

Adds a value to a number.

Arguments
valuerequired
The value to add to the given number.
Return Value
The sum of the given number and value.
something went wrong :(
Adding two numbers
Setup
authorization=PROCAUTH
require "proc"

client = Proc.connect("PROCAUTH")
const Proc = require("@proc.dev/client");
const client = Proc.connect("PROCAUTH");
client.math.add.call(
  1, value: 1
)
client.math.add.call(
  1, {value: 1}
);
curl "https://proc.run/math/add?value=1" --silent \
--header "authorization: bearer $authorization" \
--header "content-type: application/json" \
--data '1'
 

2


Stuck? Want to chat about an idea? Join the community on Discord.