I found an issue in decimals when I try to parse a string data to double. For example:
I introduce 2.5 from smartphone and when I apply the parse to double from code of Xamarin, it takes the value like an integer and that affects my calculations.
The culture info for your environment probably specifies a ',' as the decimal separator and a '.' as the thousands separator. You need to use invariant culture when converting strings with '.' for decimals:
should solve your problem.
Thanks @DaveHunt I will try with that.
It was very useful your recommendation thanks for your help
You're very welcome!
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies