Deals with issues associated with calculations involving currency and rounding to the correct number of decimal places. Regional variations in the currency format can also be handled.

Namespace: Asi.iBO
Assembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0

Syntax

C#
public static decimal FixCurrencyAmount(
	decimal amount,
	int numDigits
)
Visual Basic
Public Shared Function FixCurrencyAmount ( _
	amount As Decimal, _
	numDigits As Integer _
) As Decimal
Visual C++
public:
static Decimal FixCurrencyAmount(
	Decimal amount, 
	int numDigits
)

Parameters

amount
Type: System..::..Decimal
The monetary amount to be "fixed".
numDigits
Type: System..::..Int32
The number of digits desired in the result.

Return Value

The number "fixed" to the requested number of digits.

See Also