J
John A Grandy
Apparently, financial calculations should be performed with decimal not
double, however .NET does not make it easy to work with decimal.
Literal numeric non-integral values are by default treated as doubles.
The constants in System.Math (Pi,E) are doubles.
What are the relative benefits of using decimal to store financial data ?
double, however .NET does not make it easy to work with decimal.
Literal numeric non-integral values are by default treated as doubles.
The constants in System.Math (Pi,E) are doubles.
What are the relative benefits of using decimal to store financial data ?