mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-04 20:30:35 +00:00
Added view more top items page
This commit is contained in:
parent
c81cbaa025
commit
576731b97f
5 changed files with 109 additions and 13 deletions
11
lib/functions/number_format.dart
Normal file
11
lib/functions/number_format.dart
Normal file
|
@ -0,0 +1,11 @@
|
|||
import 'package:intl/intl.dart';
|
||||
|
||||
String intFormat(int value, String locale) {
|
||||
final f = NumberFormat("#,###", locale);
|
||||
return f.format(value);
|
||||
}
|
||||
|
||||
String doubleFormat(double value, String locale) {
|
||||
final f = NumberFormat("#.##", locale);
|
||||
return f.format(value);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue