pashminakazi commented on issue #713: Conversion of Numbers to Decimal is not working URL: https://github.com/apache/royale-asjs/issues/713#issuecomment-584514160 txtFrom is TextInput which is one of the parameter passing to Java function while passing it is sending only 3 instead of 3.000 to java function. <s:TextInput x="129" y="18.5" width="94" height="22" valueCommit="txtFrom_valueCommitHandler(event)" enabled="true" id="txtFrom" tabIndex="6" restrict="0-9."/> valueCommit : ``` protected function txtFrom_valueCommitHandler(event:FlexEvent):void { txtFrom.text = fmtNumber1.format(txtFrom.text); } ``` <mx:NumberFormatter id="fmtNumber1" decimalSeparatorFrom="." decimalSeparatorTo="." precision="3" rounding="nearest" thousandsSeparatorFrom="," thousandsSeparatorTo="," useNegativeSign="true" useThousandsSeparator="true"/>
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services