Answers for "split double value in dart"

0

split double value in dart

final double abc = 1.4;
int x = abc.toInt();
int y = int.tryParse(abc.toString().split('.')[1]);
Posted by: Guest on October-21-2021

Code answers related to "split double value in dart"

Browse Popular Code Answers by Language