lemmur-app-android/lib/util/intl.dart

6 lines
166 B
Dart
Raw Permalink Normal View History

2020-08-31 15:43:09 +02:00
import 'package:intl/intl.dart';
String pluralS(int howMany) => howMany == 1 ? '' : 's';
String compactNumber(int number) => NumberFormat.compact().format(number);