flutter convert only number part of string to double code example Example: convert string to double flutter var long2 = double.parse("STRING");