Project

General

Profile

Bug #17291 » jsfunc.evalfield.js.diff

Administrator Admin, 2007-10-19 12:18

View differences:

jsfunc.evalfield.js Wed Oct 17 17:37:58 2007
if (!value) return 0;
for (var a=0;a<theVal.length;a++) {
if (theVal.substr(a,1)!='0') {
return parseInt(theVal.substr(a,theVal.length)) || 0;
return (theVal.substr(a,1)=='-'?'-':0) + parseInt(theVal.substr(a,theVal.length)) || 0;
}
}
return 0;
(1-1/2)