Answers for "to int in dart"

1

dart to int

void main() { 
   double n1 = 2.0; 
   var value = n1.toInt(); 
   print("Output = ${value}"); 
}
Posted by: Guest on November-13-2021
4

dart string to int

var numb = int.parse('10');
Posted by: Guest on May-18-2021

Code answers related to "Dart"

Browse Popular Code Answers by Language