Skip to content

Samsara\Fermat\Core\Provider > BaseConversionProvider

No description available

Methods

Static Methods

public BaseConversionProvider::_toBasePart(Samsara\Fermat\Core\Values\ImmutableDecimal $baseNum, Samsara\Fermat\Core\Values\ImmutableDecimal $startVal)

_toBasePart

$baseNum

type
Samsara\Fermat\Core\Values\ImmutableDecimal
description
No description available

$startVal

type
Samsara\Fermat\Core\Values\ImmutableDecimal
description
No description available

return

type
string
description
No description available

public BaseConversionProvider::convertFromBaseTen(Decimal $number, NumberBase|null $toBase)

convertFromBaseTen

$number

type
Decimal
description
No description available

$toBase

type
NumberBase|null
description

return

type
string
description
No description available

public BaseConversionProvider::convertStringToBaseTen(string $number, NumberBase $fromBase)

convertStringToBaseTen

$number

type
string
description
No description available

$fromBase

type
NumberBase
description

return

type
string
description
No description available