Currency Validation
hi, i trying validate currency in text input. currency negative, must not more 2 decimal place. code have. <mx:currencyvalidator id="valuevalidator" currencysymbol="$" precision="2" allownegative="true" source="{value}" property="text" /> <mx:textinput id="value" paddingleft="0" paddingright="0" change="{testvo.value = number(value.text)}" text="{testvo.value}"/> the problem having when user types cannot accept, put's value 'nan', , can't change value or delete it. crashing screen , user can't change anything. how can fix this? way 'testvo.value' of type 'number'. thanks. you create testvo using constructor, know initialized value: <?xml version="1.0" encoding="utf-8"?> <mx:application xmlns:mx=" http://www.adobe.com/2006/mxml" creationcomplete="init()"> <mx:script...