Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

split double value in dart

final double abc = 1.4;
int x = abc.toInt();
int y = int.tryParse(abc.toString().split('.')[1]);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #split #double #dart
ADD COMMENT
Topic
Name
5+4 =