Administrator

Administrator

  • Tech Writer
  • 2.2k
  • 1.5m

Small and Big decimal Problem

Apr 7 2003 5:38 AM
I write a client server application . When a try send a small decimal ( ex. 0.0000004 ) to client I get a Exception. The problem is that number 0.0000004 presents as "4E-7" like string and .NET not allow automatic convet "4E-7" back to decimal on client side. In other words : decimal d = 0.00000004m ; decimal d1 = decimal.Parse( d.ToString()) ; at this line you have an exception. Do you know how I may resolve problem ? thanks

Answers (1)