Skip to content

Samsara\Fermat\Core\Provider > ArithmeticProvider

No description available

Methods

Static Methods

public ArithmeticProvider::add(string $number1, string $number2, int $scale)

add

$number1

type
string
description
No description available

$number2

type
string
description
No description available

$scale

type
int
description

return

type
string
description
No description available

public ArithmeticProvider::compare(string $left, string $right, int $scale)

compare

$left

type
string
description
No description available

$right

type
string
description
No description available

$scale

type
int
description

return

type
int
description
No description available

public ArithmeticProvider::divide(string $numerator, string $denominator, int $scale)

divide

$numerator

type
string
description
No description available

$denominator

type
string
description
No description available

$scale

type
int
description

return

type
string
description
No description available

public ArithmeticProvider::multiply(string $number1, string $number2, int $scale)

multiply

$number1

type
string
description
No description available

$number2

type
string
description
No description available

$scale

type
int
description

return

type
string
description
No description available

public ArithmeticProvider::pow(string $base, string $exponent, int $scale)

pow

$base

type
string
description
No description available

$exponent

type
string
description
No description available

$scale

type
int
description

return

type
string
description
No description available

public ArithmeticProvider::squareRoot(string $number, int $scale)

squareRoot

$number

type
string
description
No description available

$scale

type
int
description

return

type
string
description
No description available

public ArithmeticProvider::subtract(string $left, string $right, int $scale)

subtract

$left

type
string
description
No description available

$right

type
string
description
No description available

$scale

type
int
description

return

type
string
description
No description available