The "sum" result format returns a number with spaces when is greater than 999, for example: 1 234 or 5 555 555. How can I get it plain? 1234, 5555555.
Usually one would do it with this method but I believe the mathematical result formats do not support this. Since SMW adopted the core MediaWiki system for formatting numbers in late 2011 this can only by done using the formatnum
parser function with the "R" option or via a specialised extension, e.g. NumberFormat.