473,405 Members | 2,310 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,405 software developers and data experts.

Cents to dollars program error

nyy
I need help on this program, it have to convert cents to dollars when
you enter #of cents. Thanks please anybody can help. Thanks.

Sep 20 '05 #1
6 1593
nyy wrote on 20 sep 2005 in comp.lang.javascript:
I need help on this program, it have to convert cents to dollars when
you enter #of cents.
/ 100
Thanks please anybody can help. Thanks.


It is nothing, if you are talking dollarcents.
What grade you are in?

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Sep 20 '05 #2
nyy wrote:
I need help on this program, it have to convert cents to dollars when
you enter #of cents. Thanks please anybody can help. Thanks.


<URL:http://www.merlyn.demon.co.uk/js-maths.htm#Money>

--
Rob
Sep 20 '05 #3
nyy wrote in message news:11**********************@o13g2000cwo.googlegr oups.com...
I need help on this program, it have to convert cents to dollars when
you enter #of cents. Thanks please anybody can help. Thanks.


ok, me being the wise guy I am, you need to change


here, this line ------>

^^^^
and this here is causing the error.

or was it something else you wanted to know?
other than $1 = 100 cents? (or 175 cents = $1.75)
Sep 20 '05 #4
nyy
You know what, F. U. ALL, and go to hell, you all know sound like a
bunck of idiots and no professional at all.It is a shame you all
sapingos.

Sep 20 '05 #5
Lee
nyy said:

You know what, F. U. ALL, and go to hell, you all know sound like a
bunck of idiots and no professional at all.It is a shame you all
sapingos.


You need to grow up, and you need to learn to use USENET.
You posted a question without providing any detail. The
fact that you had posted the full code earlier doesn't
matter, because few would realize that unless they
happened to search for all messages from you.

Sep 20 '05 #6
nyy <je****@yahoo.com> wrote in message news:11**********************@g43g2000cwa.googlegr oups.com...
You know what, F. U. ALL, and go to hell, you all know sound like a
bunck of idiots and no professional at all.It is a shame you all
sapingos.


Hello nyy,

I'm the head of the bunck(sic) of idiots. I'm in charge, the main man,
numero uno, head honcho, king sapingo.
See, you ask for help on a program error, which you don't include.
that is, you do eventually, 30 minutes later in a completely new thread.
In the meantime three sapingos with telepathetic(sp) abilities
read your mind and reply the best they can. well, maybe not their best ;-)

See, you ask for professionalism, but show no sign of it yourself.

have you read your initial question and looked at it from a different
perspective? Like of someone else asking you for help?
Have you looked at your reply and thought
"how would I react if someone told me all that"?

Now, in the meantime, other sapingos which you so nicely call a
bunck(sic) of idiots have tried to help you in your other thread.
Is the above reply your thanks to them?
Sep 20 '05 #7

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

Similar topics

3
by: nyy | last post by:
this program is supposed to give the user the ability to enter numbers in cents and tell you how many dollars you have. PLease anybody can tell me what's wrong. Thx. <!DOCTYPE html PUBLIC...
9
by: bdog4 | last post by:
I want to validate a number to so that they can only input $2.00, 5.00, 7.00, 50.00 etc... I don't wan them to be able to put cents on the amount. It can either either be 2 or 2.00 Any ideas on...
6
by: Chad | last post by:
I would like to remove the decimal but still show the cents using sprintf. char empheader; double totalwage = 123.45; sprintf(empheader, "%.2f", totalwage);
4
by: Chris Dunaway | last post by:
I am writing a simple point of sale type application. One of the functions includes reading a weight from a scale and then multiplying that weight by a UnitPrice to get an amount. The scale...
3
by: mochatrpl | last post by:
I am looking for a way to make a query / report display the running average for total dollars. I have already set up a query to provide totals dollars per day from which a report graphly shows...
16
by: luca bertini | last post by:
Hi, i have strings which look like money values (ie 34.45) is there a way to convert them into float variables? everytime i try I get this error: "numb = float(my_line) ValueError: empty string...
7
by: Paro | last post by:
If any body knows there is part time c language jobs here http://zubair.jhara.googlepages.com/jobs.html
0
by: foryou | last post by:
Earn 75 cents on every hour navigation Update!! This site is one of the sites profitability, which is one of the best types of profit and easier to open a page and leave the navigation of self...
3
by: canabatz | last post by:
i need help creating a from for input price i want two separate fields to hold dollars and cents ,and when i press on submit the all price will be sent as: lets say 12.45 how can i do it ,im...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...
0
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...
0
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...
0
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,...

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.