Integer formtool - remove numberFormat() from inputs value?

Why does the integer formtool edit() use numberFormat()?

From https://farcry.jira.com/browse/FC-1275
‘formtool type “integer” should have numberFormat() around value’ – Matthew Bryant

Shouldn’t integers always be displayed without any formatting/separators? When formatting/separators are needed we have the numeric formtool. I also think that ftPrefix and ftSuffix should be removed from the input value.

The formatting should be optional and off by default I think – I have the same issue with the separators :smile:

The prefix and suffix might be okay to leave as an option, particularly for backwards compatibility. I think the formtool already checks the value and then strips the prefix and suffix before trying to save to the DB.