Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Calvin Frei 106 posts 314 karma points
    Sep 30, 2011 @ 16:23
    Calvin Frei
    0

    Change currency format from "Fr." to "CHF"

    Hi there

    Is it possible to change the format of the swiss currency from "Fr." to "CHF"?
    "Fr." is the old currency format of the swiss franc ;-).

    Regards

  • Rune Grønkjær 1372 posts 3103 karma points
    Sep 30, 2011 @ 16:52
    Rune Grønkjær
    1

    Hi Calvin,

    I guess you mean how you can write prices CHF 50.00 instead of Fr. 50.00!?

    To do that use the unformatted price from the xml and prepend the CHF. I'm not aware of any other way to do it. It seems that the Fr. is the official .NET way to format swiss currency.

    I hope you can use that answer.

    /Rune

  • Rune Grønkjær 1372 posts 3103 karma points
    Dec 07, 2011 @ 09:02
    Rune Grønkjær
    0

    Hi Calvin,

    Did you find a solution to this problem?

    /Rune

  • Calvin Frei 106 posts 314 karma points
    Dec 07, 2011 @ 09:33
    Calvin Frei
    0

    Hi Rune

    Your solution above is a good work around ;-).

    I didn't find a better solution yet. You can change the currency symbol in the NumberFormatInfo class, but yeah you must implement such method which allows to change the currency symbol in umbraco (tea commerce section). Maybe it can be changed in the web.config or other .config, but my research didn't give any result.

    Regards
    Calvin

  • Anders Burla 2560 posts 8256 karma points
    Dec 08, 2011 @ 23:34
    Anders Burla
    0

    Hi Calvin

    Great we could help. If you could mark the right answer as a solution it would be great - just to help others - thanks in advance

    Kind regards
    Anders

Please Sign in or register to post replies

Write your reply to:

Draft