Currency Symbol

i am parsing imformation from a XML file. One bit of the imformation in the XML file is in the form of "£1,345.0". When this is a assigned to a string varible it is converted to "GBP1,345.0". how can I stop this from happening

Answer this question

Currency Symbol

  • Lloyd O.

    Thanks, that works. For future refrence any idea why it happens
  • johoja

    Hi,

    You can use ...

    Amount = Amount.Replace("GBP", "");

    Where amount is string.



  • Currency Symbol