Stay organized with collections
Save and categorize content based on your preferences.
CurrencyUsage
class CurrencyUsage
Known Direct Subclasses
Currency.CurrencyUsage.CASH |
a setting to specify currency usage which determines currency digit and rounding for cash usage, for example: "50 NT$"
|
Currency.CurrencyUsage.STANDARD |
a setting to specify currency usage which determines currency digit and rounding for standard usage, for example: "50.
|
|
Currency Usage used for Decimal Format
Summary
Enum values |
a setting to specify currency usage which determines currency digit and rounding for cash usage, for example: "50 NT$"
|
a setting to specify currency usage which determines currency digit and rounding for standard usage, for example: "50.
|
Enum values
CASH
enum val CASH : Currency.CurrencyUsage
a setting to specify currency usage which determines currency digit and rounding for cash usage, for example: "50 NT$"
STANDARD
enum val STANDARD : Currency.CurrencyUsage
a setting to specify currency usage which determines currency digit and rounding for standard usage, for example: "50.00 NT$"
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# Currency.CurrencyUsage\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nCurrencyUsage\n=============\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/icu/util/Currency.CurrencyUsage \"View this page in Java\") \n\n```\nclass CurrencyUsage\n```\n\n|---|---|----------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||\n| ↳ | [kotlin.Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)\\\u003c[android.icu.util.Currency.CurrencyUsage](#)\\\u003e ||\n| | ↳ | [android.icu.util.Currency.CurrencyUsage](#) |\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Known Direct Subclasses [Currency.CurrencyUsage.CASH](#ENUM_VALUE:CASH), [Currency.CurrencyUsage.STANDARD](#ENUM_VALUE:STANDARD) |---------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------| | [Currency.CurrencyUsage.CASH](#ENUM_VALUE:CASH) | a setting to specify currency usage which determines currency digit and rounding for cash usage, for example: \"50 NT$\" | | [Currency.CurrencyUsage.STANDARD](#ENUM_VALUE:STANDARD) | a setting to specify currency usage which determines currency digit and rounding for standard usage, for example: \"50. | |\n\nCurrency Usage used for Decimal Format\n\nSummary\n-------\n\n| Enum values ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [CASH](#ENUM_VALUE:CASH) a setting to specify currency usage which determines currency digit and rounding for cash usage, for example: \"50 NT$\" |\n| [STANDARD](#ENUM_VALUE:STANDARD) a setting to specify currency usage which determines currency digit and rounding for standard usage, for example: \"50. |\n\nEnum values\n-----------\n\n### CASH\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val CASH : Currency.CurrencyUsage\n```\n\na setting to specify currency usage which determines currency digit and rounding for cash usage, for example: \"50 NT$\" \n\n### STANDARD\n\nAdded in [API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nenum val STANDARD : Currency.CurrencyUsage\n```\n\na setting to specify currency usage which determines currency digit and rounding for standard usage, for example: \"50.00 NT$\""]]