Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Currency Conversion from Euro to other..

Currency Conversion from Euro to other..

Scheduled Pinned Locked Moved C#
7 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rahul net11
    wrote on last edited by
    #1

    Hi All, I want to convert EURO currency to GBP,USD,CHF,SEK etc. Dosenot any one knows the formula should i use to convert each currency to EURO. I am getting current rate of each currency. Thanks Rahul

    People Laugh on me Because i am Different but i Laugh on them Because they all are same.

    A E L 3 Replies Last reply
    0
    • R rahul net11

      Hi All, I want to convert EURO currency to GBP,USD,CHF,SEK etc. Dosenot any one knows the formula should i use to convert each currency to EURO. I am getting current rate of each currency. Thanks Rahul

      People Laugh on me Because i am Different but i Laugh on them Because they all are same.

      A Offline
      A Offline
      Abhinav S
      wrote on last edited by
      #2

      Currency rates are changing all the while - so you will need to communicate with a web service / site that provides updated currency rates. Once you have the correct rates, updating the currency should be easy.

      The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.

      R 1 Reply Last reply
      0
      • R rahul net11

        Hi All, I want to convert EURO currency to GBP,USD,CHF,SEK etc. Dosenot any one knows the formula should i use to convert each currency to EURO. I am getting current rate of each currency. Thanks Rahul

        People Laugh on me Because i am Different but i Laugh on them Because they all are same.

        E Offline
        E Offline
        elchupathingy
        wrote on last edited by
        #3

        http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml[^] Bam, simple parsing as well :D

        R 1 Reply Last reply
        0
        • E elchupathingy

          http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml[^] Bam, simple parsing as well :D

          R Offline
          R Offline
          rahul net11
          wrote on last edited by
          #4

          Hi, I am getting the daily rates. I just want to know the formula to convert. Suppose i got amount 140 in GBP now i want to convert it into EURO so what will be the formula. Regards Rahul

          People Laugh on me Because i am Different but i Laugh on them Because they all are same.

          S 1 Reply Last reply
          0
          • A Abhinav S

            Currency rates are changing all the while - so you will need to communicate with a web service / site that provides updated currency rates. Once you have the correct rates, updating the currency should be easy.

            The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.

            R Offline
            R Offline
            rahul net11
            wrote on last edited by
            #5

            Hi Abhinav, I am getting all the current currency rates just need a formula to convert each curr inEURo. Will try and let u knkow? Thanks

            People Laugh on me Because i am Different but i Laugh on them Because they all are same.

            1 Reply Last reply
            0
            • R rahul net11

              Hi, I am getting the daily rates. I just want to know the formula to convert. Suppose i got amount 140 in GBP now i want to convert it into EURO so what will be the formula. Regards Rahul

              People Laugh on me Because i am Different but i Laugh on them Because they all are same.

              S Offline
              S Offline
              SeMartens
              wrote on last edited by
              #6

              Hi, you will need this formula: x (in Euro) = y (foreign currency) / z (current rate). For example for the 140 GBP with a rate of 1 € = 1.5 GBP the formula will be x = 140 / 1.5 = 93.33 (Euro) If you have the rate like 1 GBP = 0.67 Euro you need this formula: x (in Euro) = y (foreign currency) * z (current rate) Hope this helps. Regards Sebastian

              It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.

              1 Reply Last reply
              0
              • R rahul net11

                Hi All, I want to convert EURO currency to GBP,USD,CHF,SEK etc. Dosenot any one knows the formula should i use to convert each currency to EURO. I am getting current rate of each currency. Thanks Rahul

                People Laugh on me Because i am Different but i Laugh on them Because they all are same.

                L Offline
                L Offline
                Luc Pattyn
                wrote on last edited by
                #7

                the formula is: multiplication. It is similar as converting inches to millimeters, and much simpler than converting Fahrenheit to Celsius. :)

                Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

                Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups