Skip to main content

setting locale for formatting currencies

Comments

1 comment

  • Zendesk API User
    Author: Peter_Jodeleit - 6/19/2012 17:05

    There is no special method for writing currencies. But there is no need to use a script, you can handle this in template code with the help of the "class" method:

    $CMS_VALUE(class("java.text.NumberFormat").getCurrencyInstance(#global.locale).format(my_number))$

    0

Please sign in to leave a comment.