Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

odd even in dart

double value = 2.5;
  print(value.floor().isEven ? "It's even" : "It's odd");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #odd #dart
ADD COMMENT
Topic
Name
5+7 =