我需要叫这个
{private static final NumberFormat currencyFormat = NumberFormat.getCurrencyInstance();}
Run Code Online (Sandbox Code Playgroud)
在Android应用程序中,但是我使用Kotlin,但我不知道如何在Kotlin中做到这一点。如何在Kotlin中做到这一点?
小智 5
用途如下:
private val currencyFormat = NumberFormat.getCurrencyInstance()
Run Code Online (Sandbox Code Playgroud)