About Question com.enthuware.ets.scwcd.v5.2.179 :
Moderator: admin
-
- Site Admin
- Posts: 10384
- 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.
-
- Site Admin
- Posts: 10384
- 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.
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 10 guests