CurrencyFormatter
package flash.globalization
Available on flash
Static methods
staticgetAvailableLocaleIDNames():Vector<String>
Constructor
new(requestedLocaleIDName:String)
Variables
read onlyactualLocaleIDName:String
read onlycurrencyISOCode:String
read onlycurrencySymbol:String
decimalSeparator:String
digitsType:UInt
fractionalDigits:Int
groupingPattern:String
groupingSeparator:String
read onlylastOperationStatus:LastOperationStatus
leadingZero:Bool
negativeCurrencyFormat:UInt
negativeSymbol:String
positiveCurrencyFormat:UInt
read onlyrequestedLocaleIDName:String
trailingZeros:Bool
useGrouping:Bool
Methods
format(value:Float, withCurrencySymbol:Bool = false):String
formattingWithCurrencySymbolIsSafe(requestedISOCode:String):Bool
parse(inputString:String):CurrencyParseResult
setCurrency(currencyISOCode:String, currencySymbol:String):Void
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/globalization/CurrencyFormatter.html