Browse Source

Update formatter.dart

smf
daivph 5 years ago
parent
commit
357a00dfcb
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      lib/utils/formatter.dart

+ 0
- 2
lib/utils/formatter.dart View File

@@ -118,7 +118,6 @@ extension FormatDate on int {
extension DoubleParsing on String {
double parseDoubleThousand() {
var newValue = this.replaceAll(",", "");
// var changeToServerFormat = newValue.replaceAll(".", ",");
return double.tryParse(newValue);
}
}
@@ -126,7 +125,6 @@ extension DoubleParsing on String {
extension IntParsing on String {
int parseIntThousand() {
var newValue = this.replaceAll(",", "");
// var changeToServerFormat = newValue.replaceAll(".", ",");
return int.tryParse(newValue);
}
}

Loading…
Cancel
Save