473,582 Members | 3,069 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Currency conversion

Hello guys,
I need to know the Currency conversion code in Javascript
Say for example i got 2 textbox .. where i enter a number (singapore
doller value) and i provide a button and in the next text box i should
get the value in US doller value.

Waiting for ur response,

Ciao,
Jay

Jul 22 '06 #1
10 3866
ja*********@gma il.com wrote in news:1153563033 .534849.289890
@h48g2000cwc.go oglegroups.com:
I need to know the Currency conversion code in Javascript
Say for example i got 2 textbox .. where i enter a number (singapore
doller value) and i provide a button and in the next text box i should
get the value in US doller value.
http://www.google.com/search?q=javas...ency+converter

Jul 23 '06 #2
Jay
Well .. thanks for the reply ...but ..
here is an example : http://dynamicconverter.com/ , see here : if u
click the currency u will get " Select Currency " combo box .. where u
can change the type of currency u need and it automaticall changes the
currency ...

Thats how i need to do ...

Ciao,
Jayender
Jim Land (NO SPAM) wrote:
ja*********@gma il.com wrote in news:1153563033 .534849.289890
@h48g2000cwc.go oglegroups.com:
I need to know the Currency conversion code in Javascript
Say for example i got 2 textbox .. where i enter a number (singapore
doller value) and i provide a button and in the next text box i should
get the value in US doller value.

http://www.google.com/search?q=javas...ency+converter
Jul 24 '06 #3
Jay said the following on 7/24/2006 2:06 AM:
Well .. thanks for the reply ...but ..
here is an example : http://dynamicconverter.com/ , see here : if u
click the currency u will get " Select Currency " combo box .. where u
can change the type of currency u need and it automaticall changes the
currency ...

Thats how i need to do ...
Right Click>View Source

Then, try reading the group FAQ, especially the parts about how to post
properly.

--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Jul 24 '06 #4
Jay
What do u mean by this Mr.Randy ?
Does it really makes u annoy ?

but really waiting for a solution ...
Ciao,
Jay

Randy Webb wrote:
Jay said the following on 7/24/2006 2:06 AM:
Well .. thanks for the reply ...but ..
here is an example : http://dynamicconverter.com/ , see here : if u
click the currency u will get " Select Currency " combo box .. where u
can change the type of currency u need and it automaticall changes the
currency ...

Thats how i need to do ...

Right Click>View Source

Then, try reading the group FAQ, especially the parts about how to post
properly.

--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Jul 24 '06 #5
Jay said the following on 7/24/2006 4:51 AM:
What do u mean by this Mr.Randy ?
I meant exactly what I wrote. If you want to know how dynamicconverte r
does it, right click and view the source.
Does it really makes u annoy ?
No, peoples ignorance and stupidity never annoys me. Amuses me, but
never annoys me.
but really waiting for a solution ...
I told you how, but you failed to comprehend it.

--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Jul 24 '06 #6
Jay
haha .. u r crazy dude....... :)
I feel petty who works under u ....
anyway thanks for the idea... now u attitude towards helping people
amuses me...haha

Ciao,
Jay

Randy Webb wrote:
Jay said the following on 7/24/2006 4:51 AM:
What do u mean by this Mr.Randy ?

I meant exactly what I wrote. If you want to know how dynamicconverte r
does it, right click and view the source.
Does it really makes u annoy ?

No, peoples ignorance and stupidity never annoys me. Amuses me, but
never annoys me.
but really waiting for a solution ...

I told you how, but you failed to comprehend it.

--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Jul 25 '06 #7
Jay said the following on 7/25/2006 12:06 AM:
haha .. u r crazy dude....... :)
I have been called worse.
I feel petty who works under u ....
Actually, they all like me.
anyway thanks for the idea... now u attitude towards helping people
amuses me...haha
Glad I could amuse you. Figured out how to View Source yet?

--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Jul 25 '06 #8
Jay
Oops .. thats the first idea (looking on the source code) striked me
once i started looking for the solution .. so the effort u have put to
help me of no use ..(am sorry to say this :) ) but i was trying for
some code (thats not the one which is there in the source of that site
) like that .

One thing Randy : "Actually, they all like me."

what does it say ? They all like's ur attitude or they are like
(resembles ur attitude) You.
Ciao,
Jay
Randy Webb wrote:
Jay said the following on 7/25/2006 12:06 AM:
haha .. u r crazy dude....... :)

I have been called worse.
I feel petty who works under u ....

Actually, they all like me.
anyway thanks for the idea... now u attitude towards helping people
amuses me...haha

Glad I could amuse you. Figured out how to View Source yet?

--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Jul 25 '06 #9
Jay said the following on 7/25/2006 3:06 AM:
Oops .. thats the first idea (looking on the source code) striked me
once i started looking for the solution .. so the effort u have put to
help me of no use ..(am sorry to say this :) ) but i was trying for
some code (thats not the one which is there in the source of that site
) like that .
OK. You would need a database of some sort to contain all the currency
conversion rates, then you look up the conversion rate you need. The
Bahraini Dinar (I doubt I spelled those correctly) is 2.85 US Dollars to
one Dinar. You would need the conversion rates for any conversion you
planned to do.

That is the hard part. The easy part is looking it up, calculating, and
displaying the answer.
One thing Randy : "Actually, they all like me."

what does it say ? They all like's ur attitude or they are like
(resembles ur attitude) You.
They all respect me and my attitude. If one of them were to act exactly
like me, it probably wouldn't work more than 5 minutes (It's been tried
before).

--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Jul 25 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
1691
by: News Guy | last post by:
Hello, Can someone tell me an easy way to convert a number with many trailing digits to a currency format and adding the '$' sign? Thanks. example Convert 34.77389993 to $34.77 Thanks, News Guy
2
574
by: Willing 2 Learn | last post by:
I'm still having trouble getting my program to do arithmetic in cents(keeping all #'s) then convert the answer in a format of dollars & cents. The main program should add, subtract, scalar multiply(by int)& show, have a constructor w/ & w/out arguments. Header file should have private data & all 6 functions from above.Class definition file...
4
9418
by: digitalavatar | last post by:
I am having a problem with my Access 2000 front end to a SQL 7 or 2000 database. I create a table in SQL with a field named, say, amt, data type MONEY. When I link the table in Access using ODBC, the field is defined as CURRENCY, as expected. Now, if I use SQL to populate the field with a 3- or 4-decimal amount like 1.234, it appears in...
14
12728
by: Just starting out | last post by:
I am very new to C code and I'm having a lot of trouble with a homework assignment. This program is supposed to take the amount of Euros that the user enters and convert it to US dollars. It runs fine if the user enters a number, but if the user enters a letter it loops. I have been working on this for 3 hours now, trying different...
2
4619
by: Nissar Ahamed | last post by:
Currency Conversion is a tricky affair. Given the market rates, tt's not the same converting from USD to JPY (116.30) and from EUR to USD (1.3010) due to the conventions used for JPY and EUR. Has anyone got a simple solution that can do the job? I will need the source code if possible. EggHeadCafe.com - .NET Developer Portal of Choice...
13
12512
by: PerumalSamy | last post by:
Hi, i am developing software in asp.net using vb coding and MS ACCESS database. I created a crystal report for printing sales bill. Now i need to convert currency into words and need to print. ex: 3,250 as "Three Thousand Two Hundred and Fifty only". How can i write codings and make to print using crystal report. Thanks in advance.
3
6394
by: Concem01 | last post by:
Hello, I am a student a UMUC online and am currently taking C programming. I have never done any programming at all and was wondering if someon can help me with my class assignment. the assignment is that I write a C program that displays the title "Currency Conversion," and then write the names of five currencies and their equivalents to...
7
3764
by: tararreb | last post by:
#include<stdio.h> /*This line is standard input output, # is directive, include is keyword, and stdio.h is header file*/ #include<stdlib.h> /*This line is standard input output, # is directive, include is keyword, and stdlib.h is standard library defininition*/ #include<math.h> /*This line is standard input output, # is directive, include...
0
8159
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8312
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8183
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6569
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5366
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3809
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3835
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2312
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1413
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.