HaxeAPI
  • Version 3.4.7
    • 3.4.7
    • 4.0.5
    • 4.1.3
    • 4.2.5
    • 4.3.7
    • Development
  • Download Haxe
  • Learn Haxe
    • Introduction
    • Manual
    • Code Cookbook
    • API Documentation
    • Videos
    • Try Haxe online
    • Haxelib
  • Connect
    • Github
    • Bug reports
    • Stack Overflow
    • Forums
    • Discord
    • Gitter
    • Blog
    • Facebook
    • #haxe
    • @haxelang
    • @haxe_org
    • Contact
View source

class CurrencyFormatter

package flash.globalization

@:final@:require(flash10_1)

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

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

formattingWithCurrencySymbolIsSafe(requestedISOCode:String):Bool

parse(inputString:String):CurrencyParseResult

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

This documentation is generated for version 3.4.7

© 2025  Haxe Foundation | Contribute to Haxe