On May 22, 2007, at 5:03 PM, yuping he wrote:


Should "+(number)L" return RU.LONG instead of RU.SYMBOL ?

The short answer: Jess doesn't support unary plus for integral types, but it is supported for RU.FLOAT, because Java's Integer.parseInt() and Long.parseLong() don't support it, but Double.parseDouble() does.


---------------------------------------------------------
Ernest Friedman-Hill
Advanced Software Research          Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
PO Box 969, MS 9012                 [EMAIL PROTECTED]
Livermore, CA 94550                 http://www.jessrules.com

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to