decimal vs double
- From: "John A Grandy" <johnagrandy-at-gmail-dot-com>
- Date: Tue, 15 Jul 2008 15:03:38 -0700
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 ?
.
- Follow-Ups:
- Re: decimal vs double
- From: Jeroen Mostert
- Re: decimal vs double
- Prev by Date: Re: Naming Convention for Temporaries
- Next by Date: Re: Learning C# - Looking for a good, free IDE
- Previous by thread: Re: Process.start() within Backgroundworker - Memory limit??
- Next by thread: Re: decimal vs double
- Index(es):
Relevant Pages
|