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