String toStr({int fractionDigits = 2}) { if (this == null) return '0'; return this!.toStringAsFixed(fractionDigits); }