mx.formatters

# IFormatter - AS3 Flex

Package | mx.formatters
Interface | public interface IFormatter
Implementors | CurrencyFormatter, DateTimeFormatter, Formatter, NumberFormatter

Language Version: | ActionScript 3.0

Product Version: | Flex 4.5

Runtime Versions: | Flash Player 10.1, AIR 2.5

This interface specifies the method that a formatter object must implement to allow it to be used as the formatter property for UI controls such as the `AdvancedDataGridColumn`.

Related API Elements

mx.controls.advancedDataGridClasses.formatter

Public Methods

| Method | Defined By
--- | --- | ---
|  | format(value:Object):String Formats a value and returns a String containing the new formatted value. | IFormatter

Method Detail

### format

()
method

`public function format(value:Object):String`

Language Version: | ActionScript 3.0

Product Version: | Flex 4.5

Runtime Versions: | Flash Player 10.1, AIR 2.5

Formats a value and returns a `String` containing the new formatted value.

Parameters

| `value:Object` — Value to be formatted.

Returns

| `String` — The formatted string.

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00