473,698 Members | 1,921 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 3884
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
1699
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 should implement my ADT class. What I have so far: Main program #include "jahcurrency.h" #include...
4
9424
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 the Access table as 1.23 only. If I expand the decimals to 3 places it will be 1.230; if the...
14
12737
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 things
2
4624
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 http://www.eggheadcafe.com
13
12521
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
6396
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 the US dollar. The five currencies and their current exchange rate are; 1 Yen = 0.008431 1...
7
3766
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 is keyword, and math.h is mathematical declarations*/ main (void)
0
8671
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9152
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9016
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8887
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7709
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6515
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4613
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2321
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1997
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.