 | BitConverterHelperPrevious Method (Decimal) |
Returns the greatest double that is smaller than n.
Namespace:
SmartTests.Helpers
Assembly:
SmartTests (in SmartTests.dll) Version: 1.12.0
Syntaxpublic static decimal Previous(
decimal n
)
Public Shared Function Previous (
n As Decimal
) As Decimal
public:
static Decimal Previous(
Decimal n
)
static member Previous :
n : decimal -> decimal
Parameters
- n
- Type: SystemDecimal
The number for which the previous value is to be computed.
Return Value
Type:
DecimalThe greatest value that is smaller than
n
See Also