Hi every one....


i have problem in c++ , i hope i find the solution for it :-| :-| :-| .

i want store number like 2.000000000002
12-13 digits after comma

it's important to me these digits.


i'm sorry if my english language is not good ,but this is all i can
forgive me guys.

I'd go with the doubledouble special datatype, since the regular double can only barely hold enough precision for your digits -- and if you do any interesting math with the numbers, the floating point error will be too much.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.