Rounds this number to decimals decimal places.
decimals
3.14159.roundTo(2) // 3.14
double roundTo(int decimals) { final factor = math.pow(10, decimals); return (this * factor).round() / factor; }