String? localizeVolts(double? volts) { if (volts == null) return null; return '${volts.toStringAsFixed(1)} V'; }