[Mono-dev] Parse methods

Mayur Devendra Punekar mayurpunekar at rediffmail.com
Wed Feb 1 09:59:05 EST 2006


- I am tring to covert string to float and double with the help of float.Parse and Double.Parse method, but its not returning proper values, e.g

string s = "1.0";
double d = Double.Parse(s);

this codes gives d = 10 !! (i.e. without decimal point)

- Can any one point out the problem here?? is C#'s Parse method properly implemented in Mono??

- any help extended would be highly appreciated


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060201/aa800882/attachment.html 

More information about the Mono-devel-list mailing list