Alternatively, you can write this directive on your Freemarker template:
<#setting number_format="computer">
This will remove all commas from the numbers.
This is great for Freemarker 2.3.23
More information about these directives can be found here:
http://freemarker.org/docs/ref_directive_setting.html