Hi All,

Consider the following code fragment:

Jess> (deftemplate foo (slot bar) (slot baz))
TRUE
Jess> (assert (foo (bar 1) (baz 123456789012)))
<Fact-0>
Jess> (facts)
f-0   (foo (bar 1) (baz 1.23456789012E11))
For a total of 1 facts.
Jess>

How do I stop Jess from rounding the value of baz?

If possible, can I get Jess to treat all slot values as Strings?

cheers
Rob.
-- 
British Maritime Technology
Tel: +44 (0)20 8943 5544
Fax: +44 (0)20 8977 9304
WWW: http://www.bmtech.co.uk

IMPORTANT: Any views or opinions expressed are solely those of the author 
and do not necessarily represent those of British Maritime Technology.




---------------------------------------------------------------------
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