locked
Setting currency in app RRS feed

  • Question

  • User1894305733 posted

    hi i am in the UK and am trying to get my app to display £ instead of $. i am using the following to do it:

    <globalization requestEncoding="utf-8"

    responseEncoding="utf-8"

    fileEncoding=""

    culture="en-GB"

    uiCulture="en-GB"

    enableClientBasedCulture="false"

    responseHeaderEncoding="utf-8"

    resourceProviderFactoryType=""

    enableBestFitResponseEncoding="false" />

    and

    Return String.Format("{0} ({1:C})", Me.Title, Me.Price)

    but i still get a $ sign can anyone help?

    Cheers Tupps

    Wednesday, October 11, 2006 11:32 AM

Answers

  • User1894305733 posted

    hi not exactly sure what happened but it all works this morning!!

    Thanks for taking the time and effort to look!!

    Cheers

    Tupps

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, October 12, 2006 7:58 AM

All replies

  • User1439985827 posted

    Actually if I do that, it works for me. I get the pound sign and not a dollar sign. I copied and pasted that code into my web.config and it does what it is suppose to. Don't know why you are still getting the dollar sign.

    Wednesday, October 11, 2006 12:56 PM
  • User1894305733 posted

    i am thinking this might be due to the history???? but i will test!

     cheers for the reply

    Tuppers

    Wednesday, October 11, 2006 1:02 PM
  • User1894305733 posted

    nope still no luck!! by the way this is my local computer. i will carry on looking!!

     Cheers

    Tupps

    Wednesday, October 11, 2006 2:59 PM
  • User1439985827 posted
    If you put it in the machine.config file will the local change? machine.config should change it for the entire machine. See if that works.
    Wednesday, October 11, 2006 4:30 PM
  • User1894305733 posted

    how would i do that? never changed the machine.config file before.

    Sorry to be a pain!

    Cheers

    Tupps

    Wednesday, October 11, 2006 5:04 PM
  • User1439985827 posted

    Edit the machine.config file in this path:

    C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG

    Wednesday, October 11, 2006 6:06 PM
  • User1894305733 posted

    hi not exactly sure what happened but it all works this morning!!

    Thanks for taking the time and effort to look!!

    Cheers

    Tupps

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, October 12, 2006 7:58 AM