1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Solved: Javascript Calculator

Discussion in 'Web Design & Development' started by dudeking, Jan 14, 2011.

Thread Status:
Not open for further replies.
Advertisement
  1. dudeking

    dudeking Thread Starter

    Joined:
    Feb 7, 2007
    Messages:
    483
    Can someone please look at this

    www.eddielee.me/calc.html

    Press 5 then . then 6

    or enter any other decimal number... why does it display the first number at the end?

    Please can some one help, this is driving me insane!!

    Thanks :)
     
  2. DrP

    DrP

    Joined:
    Jul 23, 2005
    Messages:
    739
    Assuming you didn't build that calculator from scratch (as you'd be able to answer your own question?), is there not a support page on whichever site you borrowed it from? You might want specific feedback from the creators, no?
     
  3. dudeking

    dudeking Thread Starter

    Joined:
    Feb 7, 2007
    Messages:
    483
    I did. Problem has been solved now anyway, decimal places do not take up a segment of there own and I was forgetting to increment the number length after removing the point from the string. It solved now anyway.
     
  4. ehymel

    ehymel

    Joined:
    Aug 12, 2007
    Messages:
    696
    Very nice script!
     
  5. DrP

    DrP

    Joined:
    Jul 23, 2005
    Messages:
    739
    Ditto.
     
  6. dudeking

    dudeking Thread Starter

    Joined:
    Feb 7, 2007
    Messages:
    483
    Thanks guys :) was for an assignment at uni so hopefully it will get a good grade.
     
  7. JimmySeal

    JimmySeal

    Joined:
    Sep 25, 2007
    Messages:
    290
    Looks like the display doesn't work on IE. Seems that one line in the script is generating errors.
     
  8. dudeking

    dudeking Thread Starter

    Joined:
    Feb 7, 2007
    Messages:
    483
    Does on the final version, that link is just my texting server. I'll update it soon
     
  9. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Similar Threads - Solved Javascript Calculator
  1. darshit
    Replies:
    1
    Views:
    437
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/974687

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice