Rounds this double by value:
value
(this * value).round() / value
double roundTo(num value) => (this * value).round() / value;