You could use Decimal
data type instead. It gives you precision of 28-29 significant digits - should be enough for most needs.
Adding numbers having more digits after decimal point
-
11-03-2022 - |
سؤال
How to add two decimal numbers, having more than 18 digits, (ex: "0.12345678901234567345342343" and "-0.540811569342790340234") to all the decimal places accurately in vb.net. I tried using double datatype but it did round-off for 18 digits after decimal point. So how i can achieve this?
المحلول
لا تنتمي إلى StackOverflow