Samsara\Fermat\Core\Provider\RoundingModeAdapters\Modes > HalfUpAdapter
No description available
Inheritance
Extends
- Samsara\Fermat\Core\Provider\RoundingModeAdapters\Modes\BaseAdapter
Methods
Constructor
public BaseAdapter->__construct(bool $isNegative, string|null $remainder)
__construct
$isNegative
- type
- bool
- description
- No description available
$remainder
- type
- string|null
- description
- No description available
return
- type
- mixed (assumed)
- description
- No description available
Instanced Methods
public HalfUpAdapter->determineCarry(int $digit, int $nextDigit)
determineCarry
$digit
- type
- int
- description
- No description available
$nextDigit
- type
- int
- description
- No description available
return
- type
- int
- description
- No description available
Inherited Methods
public BaseAdapter->setNegative(bool $isNegative)
setNegative
$isNegative
- type
- bool
- description
return
- type
- Samsara\Fermat\Core\Provider\RoundingModeAdapters\Modes\BaseAdapter
- description
- No description available
public BaseAdapter->setRemainder(string|null $remainder)
setRemainder
$remainder
- type
- string|null
- description
return
- type
- Samsara\Fermat\Core\Provider\RoundingModeAdapters\Modes\BaseAdapter
- description
- No description available