Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSP
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
JSP
JSTL: $Math.random()
Garrett Smith
Ranch Hand
Posts: 401
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
This is always false
<c:when test='$Math.random() ge .5'>
What is the correct syntax?
comp.lang.javascript FAQ:
http://jibbering.com/faq/
vidya archana
Ranch Hand
Posts: 36
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Try this
<c:when test='${Math.random() ge .5}'>
Garrett Smith
Ranch Hand
Posts: 401
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
When using
<c:when test='${Math.random() ge .5}'>
I get the error message "encountered '('"
With
<c:when test='${Math.random ge .01}'>
The
test
is always false.
comp.lang.javascript FAQ:
http://jibbering.com/faq/
Garrett Smith
Ranch Hand
Posts: 401
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Why is ${Math.random ge .01} always false?
It should be true 99% of the time.
comp.lang.javascript FAQ:
http://jibbering.com/faq/
Garrett Smith
Ranch Hand
Posts: 401
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
.
comp.lang.javascript FAQ:
http://jibbering.com/faq/
Garrett Smith
Ranch Hand
Posts: 401
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
^
comp.lang.javascript FAQ:
http://jibbering.com/faq/
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
random colour problems
Random Method
java graphic problem
Generating random numbers
Algorithm to generate random token ids.
More...