Well, after a lot of searching, I found a solution to my problem. I wanted to post it in case it can help someone else. What I did was I had the code get a variable or variables, perform the needed calculations on them and then rounded the result before returning the results to the form. I am only posting part of the code so that it is not confusing.
totladdprof = rgprofit + wfcyear; //calculating the total additional profit
var totladdprofrnd=Math.round(totladdprof*100)/100 //rounds results of total additional profit
form.TotalAddProfit.value = totladdprofrnd; //sending the total additional profit to form
Hello i have a script that lets the user to take a photo and then upload it -this was the thread i created https://www.daniweb.com/programming/web-development/threads/508651/how-to-open-camera-and-take-a-photo-scriptBut the photo returns in low res ...