num toFixed(num value, [digit = 2]) { String numStr = value.toStringAsFixed(digit); return double.parse(numStr); }