tt_EVEN function
dynamic
tt_EVEN(
- dynamic value
tt_EVEN(n): the smallest even number ≥ n
Implementation
dynamic tt_EVEN(dynamic value) {
final n = varToInt(value);
return n.isOdd ? n + 1 : n;
}
tt_EVEN(n): the smallest even number ≥ n
dynamic tt_EVEN(dynamic value) {
final n = varToInt(value);
return n.isOdd ? n + 1 : n;
}