View Full Version : How to write "not equal to zero"

04-28-2006, 06:36 AM
this is probably a simple problem to answer but i can't find the answer anywhere. Is it possible to write not equal to zero in a equation. sorta like
"=/ 0" or something..

my code is below if it helps understanding what i need..

while (value =/0 ) { // test condition
System.out.println("The square of " +value +" is " + value * value);

04-28-2006, 06:39 AM
Try RTFM (http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference)

04-28-2006, 06:45 AM
value != 0

04-28-2006, 07:42 AM
BTW this is the javascript forum not the java forum. Javascript != Java (pun intended)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum