.NET – Using ‘System.Currency’

.net

Is it possible to use system.currency. It says system.currency is inaccessible due to its protection level. what is the alternative of currency.

Best Answer

You have to use Decimal data type..

The decimal keyword indicates a 128-bit data type. Compared to floating-point types, the decimal type has more precision and a smaller range, which makes it appropriate for financial and monetary calculations.

Related Question