Significant Figures

  • Thread starter Thread starter BuddyWork
  • Start date Start date
B

BuddyWork

Hello,

Does .Net support significant figures if so can someone
point me to the right direction or example code?

Thanks,
 
BuddyWork,
Have you looked at System.Decimal?

An alternative might be a new SignificantFigures Structure that honored the
rules for Significant Figures. I would consider using System.Decimal as the
type to hold the value, and an Integer for the # of digits.

With VS.NET 2005 (aka Whidbey, due out in 2005) VB.NET will be able to
overload operators so you can use a new SignificantFigures structure as a
"regular" number...

Hope this helps
Jay
 
Doh!
I was in "vb.net" mode. Of course C# already supports overloaded operators
;-)

Jay
 
Back
Top