Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!stanford.edu!leland.Stanford.EDU!dkeisen From: dkeisen@leland.Stanford.EDU (Dave Eisen) Newsgroups: comp.lang.c Subject: Re: How to separate numbers in three-digit groups in C Message-ID: <1991Jun24.134512.27162@leland.Stanford.EDU> Date: 24 Jun 91 13:45:12 GMT References: <1991Jun23.174550.14820@umbc3.umbc.edu> <12192@hub.ucsb.edu> Organization: Sequoia Peripherals, Inc. Lines: 6 In article <12192@hub.ucsb.edu> angst@cs.ucsb.edu (Hopelessly in love w/Donna Reed) writes: >This function will work. It assumes the number is contained in a string >(which you can do by using sprintf()) -- > No it won't. It bombs on -123 for example.