Samsara\Fermat\Core\Types\Traits > SimpleInverseTrigonometryTrait
No description available
Inheritance
Has Traits
InverseTrigonometryNativeTrait
InverseTrigonometryNativeTrait
- namespace
- Samsara\Fermat\Core\Types\Base\Traits
- description
No description available
InverseTrigonometryScaleTrait
InverseTrigonometryScaleTrait
- namespace
- Samsara\Fermat\Core\Types\Base\Traits
- description
No description available
InverseTrigonometrySelectionTrait
InverseTrigonometrySelectionTrait
- namespace
- Samsara\Fermat\Core\Types\Base\Traits
- description
No description available
Methods
Instanced Methods
public SimpleInverseTrigonometryTrait->arccos(int|null $scale, bool $round)
arccos
$scale
- type
- int|null
- description
- The number of digits you want to return from the division. Leave null to use this object's scale.
$round
- type
- bool
- description
- If true, use the current rounding mode to round the result. If false, truncate the result.
return
- type
- Samsara\Fermat\Core\Types\Decimal
- description
- No description available
arccos() Description:
Returns the inverse cosine of this number.
public SimpleInverseTrigonometryTrait->arccot(int|null $scale, bool $round)
arccot
$scale
- type
- int|null
- description
- The number of digits you want to return from the division. Leave null to use this object's scale.
$round
- type
- bool
- description
- If true, use the current rounding mode to round the result. If false, truncate the result.
return
- type
- Samsara\Fermat\Core\Types\Decimal
- description
- No description available
arccot() Description:
Returns the inverse cotangent of this number.
public SimpleInverseTrigonometryTrait->arccsc(int|null $scale, bool $round)
arccsc
$scale
- type
- int|null
- description
- The number of digits you want to return from the division. Leave null to use this object's scale.
$round
- type
- bool
- description
- If true, use the current rounding mode to round the result. If false, truncate the result.
return
- type
- Samsara\Fermat\Core\Types\Decimal
- description
- No description available
arccsc() Description:
Returns the inverse cosecant of this number.
public SimpleInverseTrigonometryTrait->arcsec(int|null $scale, bool $round)
arcsec
$scale
- type
- int|null
- description
- The number of digits you want to return from the division. Leave null to use this object's scale.
$round
- type
- bool
- description
- If true, use the current rounding mode to round the result. If false, truncate the result.
return
- type
- Samsara\Fermat\Core\Types\Decimal
- description
- No description available
arcsec() Description:
Returns the inverse secant of this number.
public SimpleInverseTrigonometryTrait->arcsin(int|null $scale, bool $round)
arcsin
$scale
- type
- int|null
- description
- The number of digits you want to return from the division. Leave null to use this object's scale.
$round
- type
- bool
- description
- If true, use the current rounding mode to round the result. If false, truncate the result.
return
- type
- Samsara\Fermat\Core\Types\Decimal
- description
- No description available
arcsin() Description:
Returns the inverse sine of this number.
public SimpleInverseTrigonometryTrait->arctan(int|null $scale, bool $round)
arctan
$scale
- type
- int|null
- description
- The number of digits you want to return from the division. Leave null to use this object's scale.
$round
- type
- bool
- description
- If true, use the current rounding mode to round the result. If false, truncate the result.
return
- type
- Samsara\Fermat\Core\Types\Decimal
- description
- No description available
arctan() Description:
Returns the inverse tangent of this number.
public SimpleInverseTrigonometryTrait->getScale()
getScale
return
- type
- ?int
- description
- No description available
public SimpleInverseTrigonometryTrait->roundToScale(int $scale, RoundingMode|null $mode)
roundToScale
$scale
- type
- int
- description
- No description available
$mode
- type
- RoundingMode|null
- description
return
- type
- Samsara\Fermat\Core\Values\ImmutableDecimal|Samsara\Fermat\Core\Values\MutableDecimal|static
- description
- No description available
public SimpleInverseTrigonometryTrait->truncateToScale(int $scale)
truncateToScale
$scale
- type
- int
- description
return
- type
- Samsara\Fermat\Core\Values\ImmutableDecimal|Samsara\Fermat\Core\Values\MutableDecimal|static
- description
- No description available