Rounds a currency value to the next smallest value. Note, .5 rounds up.

As the value is multiplied by 100 (if currency is 2 decimal places) overflow errors may occur with very large numbers. You should anticipate and trap these errors.

Syntax

ISNumberUtilities.RoundCurrency(value)

Parameters

NameTypeOptionalByRefDescription
value Decimal The raw/ unrounded Currency (Decimal) value.

Return Value

Decimal

Returns a Currency (Decimal) value.

Member of:
ISNumberUtilities
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0