Essentially you'll instantiate a format, NumberFormatter for
numbers for example, and set it's properties like e.g. showing a
thousand separator and then one some event of the TextInput --
valueCommit for example -- you'll do something like:
ti.text = nf.format(ti.text)
this is would also give you opportunity to validate user
input using the same formatter and valid event.