| Author |
JSTL: $Math.random()
|
Garrett Smith
Ranch Hand
Joined: Jun 27, 2002
Posts: 401
|
|
This is always false What is the correct syntax?
|
comp.lang.javascript FAQ: http://jibbering.com/faq/
|
 |
vidya archana
Ranch Hand
Joined: Oct 29, 2002
Posts: 36
|
|
Try this <c:when test='${Math.random() ge .5}'>
|
 |
Garrett Smith
Ranch Hand
Joined: Jun 27, 2002
Posts: 401
|
|
When using I get the error message "encountered '('" With The test is always false.
|
 |
Garrett Smith
Ranch Hand
Joined: Jun 27, 2002
Posts: 401
|
|
Why is ${Math.random ge .01} always false? It should be true 99% of the time.
|
 |
Garrett Smith
Ranch Hand
Joined: Jun 27, 2002
Posts: 401
|
|
|
.
|
 |
Garrett Smith
Ranch Hand
Joined: Jun 27, 2002
Posts: 401
|
|
|
^
|
 |
 |
|
|
subject: JSTL: $Math.random()
|
|
|