From: Cool Mai
Subject: Artificial Intelligence: CLIPS
Date: 
Message-ID: <5fpo1f$829@client2.news.psi.net>
I am having a little bug on clips ouput for float number

	CLIPS> (format t "%5.2f%" 34.54453435)
	And here is the result with one extra number 
	34.54"34.54"

	Can somebody help me to get rid of the second number???

thanks in advance
Andy
e-mail: ···@mail.bancard.com
From: Rob Warnock
Subject: Re: Artificial Intelligence: CLIPS
Date: 
Message-ID: <5fr8jr$71v@tokyo.engr.sgi.com>
Cool Mai <····@bancard.com> wrote:
+---------------
| I am having a little bug on clips ouput for float number
| 
| 	CLIPS> (format t "%5.2f%" 34.54453435)
| 	And here is the result with one extra number 
| 	34.54"34.54"
| 
| Can somebody help me to get rid of the second number???
+---------------

Maybe something like this?

	(progn (format t "%5.2f%" 34.54453435) (values))


-Rob

-----
Rob Warnock, 7L-551		····@sgi.com
Silicon Graphics, Inc.		http://reality.sgi.com/rpw3/
2011 N. Shoreline Blvd.		Phone: 415-933-1673  FAX: 415-933-0979
Mountain View, CA  94043	PP-ASEL-IA