Updated on 2026-08-14
This commit is contained in:
parent
3a5163061d
commit
60e1f52f94
1 changed files with 2 additions and 1 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