feat: add alot
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import 'package:intl/intl.dart';
|
||||
|
||||
final _euro = NumberFormat.currency(locale: 'nl_BE', symbol: '€');
|
||||
|
||||
extension Cents on int {
|
||||
String get asEuro => _euro.format(this / 100);
|
||||
}
|
||||
Reference in New Issue
Block a user