M
michael_quinlivan
Hi All
I have the fraction 256139/25631, which I have stored in a Decimal data
types, due to it having the highest precision. When I display this
using Console.Writeline, it only displays a precision of 15 digits
(9.99...). I know that Decimals hold higher precisions than this, but
I don't know how I can get it to display all digits. It seems to
always round the value. I have tried using NumberFormatInfo classes
and all sorts of tricks, but nothing seems to work. Any ideas?
cheers
MQ
I have the fraction 256139/25631, which I have stored in a Decimal data
types, due to it having the highest precision. When I display this
using Console.Writeline, it only displays a precision of 15 digits
(9.99...). I know that Decimals hold higher precisions than this, but
I don't know how I can get it to display all digits. It seems to
always round the value. I have tried using NumberFormatInfo classes
and all sorts of tricks, but nothing seems to work. Any ideas?
cheers
MQ