Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Occurs when using the Parse option to evaluate a math expression utilizing division. If the result of the equation is between 1 and 0 the function below will always return 0 rather than the actual value. (e.g. "5 / 25" will return 0 rather than 0.2). This method works as expected using .NET.
Below is the full code snippet:
DataTable table = new DataTable();
table.Columns.Add("expression", typeof(string), expression);
DataRow row = table.NewRow();
From your description it is not clear where the problem is. The above snipped has no LINQ usage and could have issues with the current culture of the device (or simulator) while parsing the result.
Please attach a self-contained test case and include all the version* information.
* The easiest way to get exact version information is to use the "Xamarin Studio" menu, "About Xamarin Studio" item, "Show Details" button and copy/paste the version informations (you can use the "Copy Information" button).
We have not received the requested information. If you are still experiencing this issue please provide all the requested information and re-open the bug report. Thanks!