Xref: utzoo comp.lang.c:24623 comp.unix.xenix:9106 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!goya!nsi!javiv From: javiv@nsi.UUCP (Javier Vilarroig Christensen.) Newsgroups: comp.lang.c,comp.unix.xenix Subject: Re: printf format Message-ID: <987@nsi.UUCP> Date: 19 Dec 89 18:20:35 GMT References: <5761@ozdaltx.UUCP> Reply-To: javiv@nsi.UUCP (Javier Vilarroig Christensen.) Followup-To: comp.lang.c Organization: Nexus Servicios de Informacion S.L. Barcelona Spain Lines: 24 In article <5761@ozdaltx.UUCP> root@ozdaltx.UUCP (root) writes: >In the back of my mind, it seems like I read that there is a format >character used in printf(C) that allows the formatting of numbers. [lines deleted] >If printf does not have this ability, it should be added. > >thanks in advance.... >Scotty It's imposible to do this with printf. You must make a funtion to do it in a string, and then feed it to printf. -- +------------------------------------+-------------------------------------+ | Javier Vilarroig Christensen | PHONE: 34 3 210-33-55 (VOICE) | | NEXUS Servicios de Informacion S.L.| 34 3 214-72-62 (DATA) | +------------------------------------+-------------------------------------+ | SMAIL: Travesera de Dalt 104 Ent. 5| EUNET: javiv@nsi.es | | 08024 - Barcelona - Spain | javiv@nexus.nsi.es | +------------------------------------+-------------------------------------+