Re: Check null or 0
- From: "web.dev" <web.dev.cs@xxxxxxxxx>
- Date: 27 Feb 2006 10:42:36 -0800
staeri@xxxxxxxxx wrote:
I'm using the following code to create a sum:
forecast = forecast + eval(f[i].value);
The use of eval is most often misused and unnecessary.
Try the following to create your sum:
forecast += +f[i].value;
.
- References:
- Check null or 0
- From: staeri
- Check null or 0
- Prev by Date: Re: Check null or 0
- Next by Date: Re: Check null or 0
- Previous by thread: Re: Check null or 0
- Next by thread: Re: Check null or 0
- Index(es):