We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d6bc44 commit cfe9a4eCopy full SHA for cfe9a4e
WordPress/src/main/java/org/wordpress/android/util/text/PercentFormatter.kt
@@ -5,6 +5,9 @@ import org.wordpress.android.util.LocaleManagerWrapper
5
import java.math.RoundingMode
6
import javax.inject.Inject
7
8
+private const val MAXIMUM_FRACTION_DIGITS = 0
9
+private const val FORMAT_DIVISOR = 100
10
+
11
/**
12
* Used to format a string with a percent sign (%) based on the locale.
13
* @param localeManagerWrapper provides the Locale used to return the localized formatted string
@@ -47,6 +50,3 @@ class PercentFormatter @Inject constructor(
47
50
rounding
48
51
)
49
52
}
-
-private const val MAXIMUM_FRACTION_DIGITS = 0
-private const val FORMAT_DIVISOR = 100
0 commit comments