Skip to content

Instantly share code, notes, and snippets.

@rjattrill
Created February 8, 2013 01:37
Show Gist options
  • Save rjattrill/4735904 to your computer and use it in GitHub Desktop.
Save rjattrill/4735904 to your computer and use it in GitHub Desktop.
Format number for display in a Spark TextInput, Label or similar.
<s:TextInput id="defaultValueTextInput" text="{isNaN(taskParam.valueNum) ? '' : taskParam.valueNum.toString()} "/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment