473,327 Members | 2,081 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Converting currency!

Hi Guys and Girls!!!!
I am very new to this game of programming and i would like some wise information on how to convert currencies in visual basic.
It is a college project and i'm not getting the hang of it as i would have like to so if you guys coul;d be so kind to post your input i would be very grateful as for you help will persue me on my great quest going to Universty studying Computer Science! Thank You!
Apr 3 '07 #1
4 1831
SammyB
807 Expert 512MB
Hi Guys and Girls!!!!
I am very new to this game of programming and i would like some wise information on how to convert currencies in visual basic.
It is a college project and i'm not getting the hang of it as i would have like to so if you guys coul;d be so kind to post your input i would be very grateful as for you help will persue me on my great quest going to Universty studying Computer Science! Thank You!
What part are you having trouble with? What VB are you using? VBA, VB6, or VB.NET?
Apr 3 '07 #2
Thanks for the reply! I'm using VB6 and i have this project making a Bureau de change program and all i basically need is the method of converting one currency to another including the exchange rate.

for example

http://www.currencyconverter.uk.com/go/

but as a program not a website.
Apr 3 '07 #3
SammyB
807 Expert 512MB
Thanks for the reply! I'm using VB6 and i have this project making a Bureau de change program and all i basically need is the method of converting one currency to another including the exchange rate.

for example

http://www.currencyconverter.uk.com/go/

but as a program not a website.
The web site is very nice and shows what is needed to design a solution. As an example, enter 1000 as the units, converting from Thai baht to Euros. It gives you the answer as
1,000.00 Thai baht = 21.34 Euros
but it also gives you some more information:
Exchange rate: 0.021342
Rate valid as of: 27/3/2007

So, how did it get 21.34 as the answer?

Also, wouldn't it be nicer to say
฿1,000.00 = €21.34
What would you have to add to the program to do that?
Apr 3 '07 #4
Killer42
8,435 Expert 8TB
I think I should just point out that, as SammyB has implied but not actually stated, we do not hand out complete copy-and-paste solutions to classwork and homework.

Don't let that discourage you, though - we are quite happy to help you in gaining an understanding of the subject, which is better for everyone - especially yourself. :)
Apr 3 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Marcelo López | last post by:
Hello everybody. I'm working with an office pivot table and i have to convert from its currency type to a decimal (in C#) , operate with the result and then re-convert it to the currency type to...
5
by: Mukesh Kumar | last post by:
hi I am trying to pass range parameters to crystal reports from my .net environment. The start and end values of the range parameters are of currency type. I need to convert the number to currency...
3
by: Caesar Augustus | last post by:
Hello Tom, Long time listener, first time caller... I have been working with vb code to automate a salary increase process that not only rounds to the nearest penny but also rounds to the...
2
by: RC | last post by:
I am getting input from a digital scale and if the weight on the scale is 9.25 pounds, the input looks like: 009.25LB I need to remove the LB and the leading zeros and have the remaining value...
0
by: Marcelo López | last post by:
Hello everybody. I'm working with an office pivot table and i have to convert from its currency type to a decimal (in C#) , operate with the result and then re-convert it to the currency type to...
5
by: Mark | last post by:
I have a field that has been formatted using the vb.net FormatCurrency method. Now, I need to get the amount back into a regular field so I can use it for calculations. Is there an easy way to...
11
by: Penfold | last post by:
I'd appreciate help converting student average test scores into grades. My problem is that I need to allocate one of about 20 grades (3a,3b,3c,4a,4b,4c etc through to 8c plus a couple of others)....
18
by: Daz | last post by:
Hi all! I know this sounds like a stupid question, but I need to varify whether ot not a single char (from a char array) is a number. I have tried using atoi, but it seems to return '0' for any...
116
by: Dilip | last post by:
Recently in our code, I ran into a situation where were stuffing a float inside a double. The precision was extended automatically because of that. To make a long story short, this caused...
0
by: =?ISO-8859-1?Q?Marcel_M=FCller?= | last post by:
clintonb wrote: There is nothing like an original double amount. If you care about rounding errors you must not store any currency value in an approximate number. You must not do this even once....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.