W3cubDocs

/Haxe Flash

CurrencyFormatter

package flash.globalization

@:final@:require(flash10_1) Available on flash

Constructor

new (requestedLocaleIDName:String)

Variables

read only actualLocaleIDName:String

read only currencyISOCode:String

read only currencySymbol:String

decimalSeparator:String

digitsType:UInt

fractionalDigits:Int

groupingPattern:String

groupingSeparator:String

read only lastOperationStatus:LastOperationStatus

leadingZero:Bool

negativeCurrencyFormat:UInt

negativeSymbol:String

positiveCurrencyFormat:UInt

read only requestedLocaleIDName:String

trailingZeros:Bool

useGrouping:Bool

Methods

@:value({ withCurrencySymbol : false }) format (value:Float, withCurrencySymbol:Bool = false):String

formattingWithCurrencySymbolIsSafe (requestedISOCode:String):Bool

parse (inputString:String):CurrencyParseResult

setCurrency (currencyISOCode:String, currencySymbol:String):Void

Static methods

static getAvailableLocaleIDNames ():Vector<String>

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/globalization/CurrencyFormatter.html