Magento 1.7 use the currency format of Zend Framework. To change currency format, you have edit the locale xml file located into the directory lib/Zend/Locale/Data

For example, to pot the currency symbol after price, you have edit file es.xml and change:

<currencyFormats>
<currencyFormatLength>
<currencyFormat>
<pattern>¤ #,##0.00</pattern>
</currencyFormat>
</currencyFormatLength>
<unitPattern count="other">{0} {1}</unitPattern>
</currencyFormats>

by:

<currencyFormats>
<currencyFormatLength>
<currencyFormat>
             <pattern>#,##0.00 ¤</pattern>
</currencyFormat>
</currencyFormatLength>
<unitPattern count="other">{0} {1}</unitPattern>
</currencyFormats>

The symbol ¤ represents the currency symbol.
Remember clear the magento caches after change de xml file.