Format float number for Label
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> import mx.managers.ToolTipManager; ToolTipManager.hideDelay = 2500; </mx:Script> <mx:ApplicationControlBar dock="true"> <mx:Label text="tool tip."/> </mx:ApplicationControlBar> <mx:Button id="button" label="click me" toolTip="tool tip." /> <mx:Label text="{(ToolTipManager.hideDelay/1000).toFixed(1)} seconds." /> </mx:Application>