Browsing All Posts filed under »Formatting stuff«

Formatting numbers in Flash

June 1, 2009


This evening I created the following script to format numbers in Flash. I use the “# ### 00” structure to define the delimiters for thousands and to define the decimals separator. Code: function formatNumber(value:String,formatter:String) { /* VERSION: BETA 0.1, Juni 01, 2009 This is a simple method to format numbers Rounding is not included to […]