473,775 Members | 2,340 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 3893
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
1702
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
9425
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
12743
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
4628
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
12528
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
6399
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
3770
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
9621
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
10267
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
10106
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
10046
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
9915
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8939
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...
0
6717
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5358
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3611
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.