Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!iuvax!bobmon From: bobmon@iuvax.cs.indiana.edu (RAMontante) Newsgroups: comp.lang.c Subject: Re: I need help to insert commas as digits separators. Message-ID: <20834@iuvax.cs.indiana.edu> Date: 17 May 89 02:12:45 GMT References: <12883@umn-cs.CS.UMN.EDU> Reply-To: bobmon@iuvax.cs.indiana.edu (RAMontante) Organization: malkaryotic Lines: 6 One approach would be to use sprintf(), itoa(), and the like to convert your values into ASCII strings (presumably without loss of accuracy), then perform string manipulations to insert comma-characters into the representations. (Hint: start with strchr()/index() to find the decimal point.)