toggle menu
stripe-android
androidJvm
switch theme
search in API
stripe-ui-core
/
com.stripe.android.uicore.format
/
CurrencyFormatter
Currency
Formatter
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP
]
)
object
CurrencyFormatter
Members
Functions
format
Link copied to clipboard
fun
format
(
amount
:
Long
,
amountCurrency
:
Currency
,
targetLocale
:
Locale
=
Locale.getDefault()
)
:
String
fun
format
(
amount
:
Long
,
amountCurrencyCode
:
String
,
targetLocale
:
Locale
=
Locale.getDefault()
)
:
String
get
Default
Decimal
Digits
Link copied to clipboard
fun
getDefaultDecimalDigits
(
currency
:
Currency
)
:
Int