About Question com.enthuware.ets.scwcd.v5.2.179 :
Moderator: admin
-
- Site Admin
- Posts: 10066
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
About Question com.enthuware.ets.scwcd.v5.2.179 :
In a question you say that ${none eq 0} will be evaluated to true because the value of the attribute none is "". I've tested it and it prints false.
If you like our products and services, please help us by posting your review here.
-
- Site Admin
- Posts: 10066
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question com.enthuware.ets.scwcd.v5.2.179 :
As per Section 1.18.3 of Expression Language Specification:
HTH,
Paul.
Therefore, the given answer is correct.Coerce A to Number type N
¦ If A is null or "", return 0.
HTH,
Paul.
If you like our products and services, please help us by posting your review here.
Re: About Question com.enthuware.ets.scwcd.v5.2.179 :
I think they mean when adding, substracting ... but not for equal
${"" eq 0 } prints false
${"" + 10 } prints 10
${"" * 10 } prints 0
${"" eq 0 } prints false
${"" + 10 } prints 10
${"" * 10 } prints 0
Who is online
Users browsing this forum: No registered users and 132 guests