Updated on 2026-08-14
This commit is contained in:
commit
cfdc13538e
3 changed files with 9 additions and 7 deletions
|
|
@ -17,7 +17,8 @@ const val DECIMAL_SEPARATOR_LIMIT = 1
|
|||
|
||||
@Composable
|
||||
fun rememberDecimalFormat(): DecimalFormat {
|
||||
val locale = LocalConfiguration.current.locale
|
||||
val locales = LocalConfiguration.current.locales
|
||||
val locale = if (locales.isEmpty) Locale.getDefault() else locales[0]
|
||||
val decimalSymbols = remember { DecimalFormatSymbols.getInstance(locale) }
|
||||
|
||||
return remember {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue