1
0
mirror of https://github.com/krawieck/lemmur/ synced 2024-12-15 01:54:34 +01:00
lemmur-app-android/lib/util/intl.dart
2020-08-31 15:43:09 +02:00

6 lines
166 B
Dart

import 'package:intl/intl.dart';
String pluralS(int howMany) => howMany == 1 ? '' : 's';
String compactNumber(int number) => NumberFormat.compact().format(number);