I'm trying to parse the string "78,74"(which is a valid number in Brazil's format) to double, but I'm getting Format Exception and I can't find any way to parse it... Already searched in intl docs but there's nothing helpful.
I don't want to replace the "," with "." because i think that it must be a way to parse it using CultureInfo
My code is like
String x = "78,74";
double d = double.tryParse(x)
double.tryParse(x)behaving. I dont know something like that you are mentioning exist with yet Flutter(not sure). Why cant you replace comma if exist and replace it with dot and parse usingreplaceAll