Decrements the mantissa of a decimal by one, wrapping by increasing the scale if necessary.
- Namespace
- RandN
.Implementation - Containing Type
- FloatUtils
Syntax
[Pure]
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static decimal DecrementMantissa(this decimal original)
Attributes
Type | Description |
---|---|
PureAttribute | |
MethodImplAttribute |
Parameters
Name | Type | Description |
---|---|---|
original | decimal |
Return Value
Type | Description |
---|---|
decimal |