good reasons not to use D?

DLearner via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Nov 3 14:15:35 PST 2015


On Saturday, 31 October 2015 at 14:37:23 UTC, rumbu wrote:
> On Friday, 30 October 2015 at 10:35:03 UTC, Laeeth Isharc wrote:
>> I'm writing a talk for codemesh on the use of D in finance.
>>
>> Any other thoughts?
>
> For finance stuff - missing a floating point decimal data type. 
> Things like 1.1 + 2.2 = 3.3000000000000003

Agreed.

Suggest 'dec' type.

Example:
dec foo{15,3};

Means simple variable 'foo' can hold fifteen digits, last three 
decimal places.

DLearner



More information about the Digitalmars-d-learn mailing list