Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Edittext monetario

$
0
0

They know how to create a monetary EditText?
Format it by clicking?
So I tried and did not work ->

        EditText Valor = FindViewById<EditText>(Resource.Id.EditTxtVlr600);
        Valor.AfterTextChanged += (s, e) =>
        {
            var parsedInput = double.Parse(Valor.Text, NumberStyles.AllowDecimalPoint, CultureInfo.InvariantCulture);
            Valor.Text = string.Format("{0:C}", parsedInput);
        };

Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>