Hi,
Could you post a little bit more code?
My understanding is you can useSubstring()method to deal that. For example.
string str = 19.90;
Response.Write(str);
str = str.Substring(0,4);
Response.Write(str);
Result: 19.90
19.9
Try that.
Hi,
Could you post a little bit more code?
My understanding is you can useSubstring()method to deal that. For example.
string str = 19.90;
Response.Write(str);
str = str.Substring(0,4);
Response.Write(str);
Result: 19.90
19.9
Try that.
0 comments:
Post a Comment