Monday 15 February 2010

c# - Convert Exponential number to string -


I am using the code below to convert the exponent number to string. This is partially working, please help me do this.

This is my expansion number 4.00658 E + 16 / text format '40065812120130567'

The code given below has been changed to this number at 40065812120130600. Some time it has not changed in the last two digits please help me solve this problem. Decimal Tool; String convert dvc_id =. Toastring (dt.rows [i] [4]); // dt.rows [i] [4] decimal. Tree purse (dvc_id, number style Anyone, culture info. Inverted culture, out device); Dvc_id = device.ToString ();

number 4.00658121201306 E + 16 , which you say You are using it, it's not the same as 40065812120130567 . The last two digits have been dropped because the exponential form does not contain those digits as part of the number.

The last two digits are not stored at that number. All exponential marking indicates where the decimal point should be, must be essentially. Do you see what you get in the case of purity of value, and after six you are not giving any points to the program. Therefore, it will not give you a score after six.

No comments:

Post a Comment