Skip to content

Instantly share code, notes, and snippets.

@saliouseck2009
Created February 9, 2022 12:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saliouseck2009/9d61d14d0ee8511adbde7896b451fe66 to your computer and use it in GitHub Desktop.
Save saliouseck2009/9d61d14d0ee8511adbde7896b451fe66 to your computer and use it in GitHub Desktop.
division entière en dart
#division entière
int n = 7 ~/ 3;
résult by excess
int exces = (7/3).ceil();
result by default
int dfault = (7/3).floor();
print(n);
print(exces);
print(dfault);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment