- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Yes as you guessed isNull is the magic word that does that.
Let me ask you this .....You want to calculate the value even if one of the three boxes are filled in right?
Let us change the code little bit and find out if it does what you need.....use the following to see it meets your requirement.
if (!box1.isNull || !box2.isNull || !box3.isNull) {
this.rawValue = (box1.rawValue + box2.rawValue + box3.rawValue) * 1.5;
}
Views
Replies
0 Likes
Total Likes