Adobe FLEX 2-PROGRAMMING ACTIONSCRIPT 3.0 Manual page 309

Programming actionscript 3.0
Table of Contents

Advertisement

const euroSymbol:String = String.fromCharCode(8364); // €
return euro.toFixed(2) + " " + euroSymbol;
}
Note that
represents the captured parenthetical group matched by the
args[1]
regular expression. This is the numerical portion of the U.S. dollar string: that is, the dollar
amount without the
resulting string (with a trailing
sign. The method applies an exchange rate conversion and returns the
$
symbol instead of a leading $ symbol).
usdPrice
Example: A Wiki parser
309

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex

Table of Contents