LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-13-2002, 07:18 PM   #1
vance
Member
 
Registered: Feb 2001
Location: San Francisco
Distribution: Mandrake 8.1 modified
Posts: 80

Rep: Reputation: 15
Question JavaScript Question


i am working with a form and trying to total two fields of currency. i want the answer to have 2 decimal places always. isn't there a simple way to do this? can anyone show me the snippet of code for it?
 
Old 04-14-2002, 12:13 AM   #2
X11
Member
 
Registered: Dec 2001
Location: Brisie, Australia
Distribution: Slackware 8.1
Posts: 324

Rep: Reputation: 30
Take look at this site: http://www.jsmadeeasy.com/javascript...ator/index.htm
 
Old 04-14-2002, 12:30 PM   #3
vance
Member
 
Registered: Feb 2001
Location: San Francisco
Distribution: Mandrake 8.1 modified
Posts: 80

Original Poster
Rep: Reputation: 15
Talking THANKS!

thanks soooo much. it was tres helpful.

may the great server in the sky increase your bandwidth for happiness and success.

vance.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question python javascript. moby Programming 2 07-16-2004 10:55 AM
He, ANOTHER javascript question Squall Programming 3 01-27-2004 06:10 PM
Javascript question unimaginative Programming 3 01-26-2004 02:32 PM
JavaScript Question jacksmash Programming 8 12-23-2003 05:01 PM
Javascript question? mikeshn Programming 2 08-22-2002 03:44 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration