Format Mata Uang Kotlin
val numberFormat = NumberFormat.getCurrencyInstance()
numberFormat.setMaximumFractionDigits(0);
val convert = numberFormat.format(1000000)
println(convert)
// result: $1,000,000
Apollo