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