[Mono-dev] Parse methods

Zoltan Varga vargaz at gmail.com
Wed Feb 1 10:03:37 EST 2006


                      Hey,

  It returns '1' here. Please attach a complete testcase.

               Zoltan

On 1 Feb 2006 14:59:05 -0000, Mayur Devendra Punekar <
mayurpunekar at rediffmail.com> wrote:
>
> Hello,
>
> - 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
>
> cheers
>
> Mayur
>
>
> <http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5?PARTNER=3>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060201/56f9793e/attachment.html 


More information about the Mono-devel-list mailing list