1
Answer

Small and Big decimal Problem

Administrator

Administrator

21y
1.9k
1
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)