Skip to content

Commit

Permalink
small method change + bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiies committed Apr 7, 2024
1 parent 6d52889 commit 38e69c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ allprojects {
apply(plugin = "maven-publish")

group = "dev.httpmarco"
version = "1.1.3-SNAPSHOT"
version = "1.1.4-SNAPSHOT"

repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,11 @@ public static String getPercent(int amount, int percentOf, int maxDigits, boolea
return format.format(percent) + "%";
}

public static String getFormattedInt(int value) {
public static String formatNumber(long value) {
return NumberFormat.getInstance().format(value).replace(",", ".");
}

public static String formatNumber(double value) {
return NumberFormat.getInstance().format(value);
}
}

0 comments on commit 38e69c3

Please sign in to comment.