#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2002
    Posts
    79
    Rep Power
    13

    Javascript: Help needed for Round


    Newbie-Alert!

    How do i change this:


    percent = sum ? Math.round(val[i][0] * 100 / sum) : 0;


    for getting the result like x.xx instead of x?

    Thanks for hints!
  2. #2
  3. No Profile Picture
    Clueless llama
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Feb 2001
    Location
    Lincoln, NE. USA
    Posts
    2,353
    Rep Power
    117
    I think you want to html/javascript forum

IMN logo majestic logo threadwatch logo seochat tools logo