Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!galaxy!rosenblum From: rosenblum@draco.rutgers.edu Newsgroups: comp.sys.ibm.pc Subject: Bug in PRINT USING in Basic Message-ID: <2020@galaxy> Date: 1 Feb 89 02:13:16 GMT Sender: news@galaxy Organization: Rutgers University Graduate School of Management Lines: 29 I have found a bug in the PRINT USING statement in Basic for the IBM-PC by Microsoft. I am running DOS 3.10 -- the header that comes up when I go into Basic says that I am running Version D3.10, with copyright dates 1981, 1985, although my Basic manual says that I have 1.10. Anyway, the bug is that PRINT USING "##.##########"; 0.001 prints 0.0001000000 on the screen (note the extra zero between the decimal point and the 1). If I allow only nine places to the right of the decimal point, this does not happen, but if I allow ten or more and print out a small enough number (I haven't tested to see how small small enough is), it divides the number by 10. I presume that I'm not the first person to discover this. Is there a work-around or a fix? Thanks in advance. Daniel M. Rosenblum, Assistant Professor, Quantitative Studies, Graduate School of Management, Rutgers University (Newark) BITnet: ROSENBLUM@ZODIAC or ROSENBLUM@DRACO Internet: ROSENBLUM@CANCER.RUTGERS.EDU or ROSENBLUM@DRACO.RUTGERS.EDU Internet with old ARPANET NIC host tables: ROSENBLUM%CANCER.RUTGERS.EDU@RUTGERS.EDU or ROSENBLUM%DRACO.RUTGERS.EDU@RUTGERS.EDU