Math.add()

Add two numbers together and return the sum.

Usage

Hover over inputs/exits for more info.

var Math = require('machinepack-math');


// Add two numbers together and return the sum.

Math.add({

a: 2,

b: 2.2,

}).execSync();

Inputs

a required

The first number.

2
b required

The second number.

2.2

Exits

error

An unexpected error occurred.

success

OK.

4.2