Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!think!ames!ucbcad!ucbvax!SUMEX-AIM.STANFORD.EDU!SCHMIDT From: SCHMIDT@SUMEX-AIM.STANFORD.EDU (Christopher Schmidt) Newsgroups: comp.sys.xerox Subject: Re: PRINTNUM Message-ID: <12355419466.63.SCHMIDT@SUMEX-AIM.STANFORD.EDU> Date: Wed, 2-Dec-87 23:26:11 EST Article-I.D.: SUMEX-AI.12355419466.63.SCHMIDT Posted: Wed Dec 2 23:26:11 1987 Date-Received: Sun, 6-Dec-87 09:22:20 EST References: <12355356807.77.SULLIVAN@SUMEX-AIM.STANFORD.EDU> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 18 Does PRINTNUM work? I am just trying to use it for the first time, and am getting very odd results. For instance, if I try the following example straight from the InterLisp-D manual, I get the following weird results: 1<-- (PRINTNUM '(FLOAT 7 2 NIL NIL 1) 27.689) 30.0027.689 The manual says I should get: 30.00 Am I doing something wrong? [...] The first five characters ("30.00") are the effect of invoking PRINTNUM; the last six ("27.689") are the result of the form printed by the exec. Try (PRINTNUM '(FLOAT 7 2 NIL NIL 1) 27.689 (CREATEW)) to segregate output. --Christopher -------