Skip to content

Samsara\Fermat\Complex\Types\Traits > ComplexScaleTrait

No description available

Methods

Instanced Methods

public ComplexScaleTrait->getScale()

getScale

return

type
int
description
No description available

public ComplexScaleTrait->ceil()

ceil

return

type
Samsara\Fermat\Complex\Values\ImmutableComplexNumber|Samsara\Fermat\Complex\Values\MutableComplexNumber|static
description
No description available

public ComplexScaleTrait->floor()

floor

return

type
Samsara\Fermat\Complex\Values\ImmutableComplexNumber|Samsara\Fermat\Complex\Values\MutableComplexNumber|static
description
No description available

public ComplexScaleTrait->round(int $decimals, RoundingMode|null $mode)

round

$decimals

type
int
description
No description available

$mode

type
RoundingMode|null
description

return

type
Samsara\Fermat\Complex\Values\ImmutableComplexNumber|Samsara\Fermat\Complex\Values\MutableComplexNumber|static
description
No description available

public ComplexScaleTrait->roundToScale(int $scale, RoundingMode|null $mode)

roundToScale

$scale

type
int
description
No description available

$mode

type
RoundingMode|null
description

return

type
Samsara\Fermat\Complex\Values\ImmutableComplexNumber|Samsara\Fermat\Complex\Values\MutableComplexNumber|static
description
No description available

public ComplexScaleTrait->truncate(int $decimals)

truncate

$decimals

type
int
description

return

type
Samsara\Fermat\Complex\Values\ImmutableComplexNumber|Samsara\Fermat\Complex\Values\MutableComplexNumber|static
description
No description available

public ComplexScaleTrait->truncateToScale(int $scale)

truncateToScale

$scale

type
int
description

return

type
Samsara\Fermat\Complex\Values\ImmutableComplexNumber|Samsara\Fermat\Complex\Values\MutableComplexNumber|static
description
No description available