I am using the filter localizedcurrency to format a price in a multi language website. Since this is the price of houses, I don't need the decimal part.
I can't find out how to hide it, besides using the replace filter. I wonder if there is a better way, because using replace would mean I have to replace a dot in english and a comma in french and so on...
I also can't use some form of substr because the dollar sign can be before or after the value.
I tried passing an int instead of a float to the filter, but it just defaults to .00
Thanks!