User Profile

Collapse

Profile Sidebar

Collapse
hback
hback
Last Activity: Mar 12 '09, 08:56 PM
Joined: Mar 11 '09
Location: Ohio, USA
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • hback
    replied to Round to two decimal places
    I understand now. Thank you for your time. You are a genius!
    See more | Go to post

    Leave a comment:


  • hback
    replied to Round to two decimal places
    Thank You! It works perfectly. I appreciate your time and patience with me. I wasn't sure where to put the second bracket on the first half of the code.
    See more | Go to post

    Leave a comment:


  • hback
    replied to Round to two decimal places
    Ok some of this worked. It works from C Degrees to F Degrees, but not the other way around. Could you tell me what I'm doing wrong in the first half of this code?

    Code:
    <form>
                      <table width="98%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                          <td width="36%"><div align="right">Degrees
    ...
    See more | Go to post
    Last edited by acoder; Mar 12 '09, 07:11 PM. Reason: Added [code] tags

    Leave a comment:


  • hback
    replied to Round to two decimal places
    Thank You gits..

    I believe I am still doing something wrong. It not rounding up, and it's still giving me lots of numberes after the decimal. Please see code below.


    Code:
    <form>
                      <table width="98%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                          <td width="36%"><div
    ...
    See more | Go to post
    Last edited by gits; Mar 12 '09, 06:38 PM. Reason: added code tags

    Leave a comment:


  • hback
    replied to Round to two decimal places
    I greatly appreciate everyone who has posted for this topic, but I don't even know enough to know what to do with that.

    Thanks for your time.
    See more | Go to post

    Leave a comment:


  • hback
    replied to Round to two decimal places
    Thank you for your reply. Where do I paste this? ...and do I paste this entire block?

    Code:
    var n = 12345.6789;
    
    n.toFixed();              // Returns 12346: note rounding, no fractional part
    n.toFixed(1);             // Returns 12345.7: note rounding
    n.toFixed(6);             // Returns 12345.678900: note added zeros
    (1.23e+20).toFixed(2);    // Returns 123000000000000000000.00
    (1.23e-10).toFixed(2)
    ...
    See more | Go to post
    Last edited by Dormilich; Mar 12 '09, 05:03 PM. Reason: added [code] tags

    Leave a comment:


  • hback
    replied to Round to two decimal places
    I am very new to this. I'm working on a website: http://www.nhtpc.com/tools.htm where i'm trying to get the calculations to round to 2 decimal places where as right now it's showing 10.

    Below is the code i'm using:

    Code:
    <form>
                      <table width="98%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
    ...
    See more | Go to post
    Last edited by Dormilich; Mar 11 '09, 09:45 PM. Reason: added [code] tags

    Leave a comment:

No activity results to display
Show More
Working...