• Post Reply Bookmark Topic Watch Topic
  • New Topic

Doubt in EL

 
Shanmugam Karthikeyan
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In page 395 in HFSJ, it has been stated as "In arithmetic, EL treats the null values as zero".

My doubt is that how in the first place null values get involved in an arithmetic expression.

Can anyone give me a proper example for the above statement.
 
Shanmugam Karthikeyan
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I got the example... it is right there in that page itself ...
 
You've gotta fight it! Don't give in! Read this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!