Documentation

Calculator
in package

Table of Contents

add()  : mixed

Methods

add()

public add(mixed $a, mixed $b) : mixed
Parameters
$a : mixed
$b : mixed
Tags
assert

(0, 0) == 0

assert

(0, 1) == 1

assert

(1, 0) == 1

assert

(1, 1) == 2

Return values
mixed

Search results