Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

atoi



don't forget that the printf with %d-s probably should be %f-s

printf("%f\t%f\t%f\n",T1,T2,TD);
> On Thursday 14 August 2003 02:10 pm, Derek Martin wrote:
> > On Thu, Aug 14, 2003 at 02:06:42PM -0400, Anthony J. Gabrielson wrote:
> > > Hello all,
> > > 	I want to see if there is away to preserve the decimal points with
> > > this code chunk:
> > 
> > Look at strtol()
> 
> Or atof()
> 
> 
> -------------------------------------------------------------------
> DDDD   David Kramer                           http://thekramers.net
> DK KD  
> DKK D  "I went on a diet, swore off drinking and heavy eating, and 
> DK KD  in fourteen days I had lost exactly two weeks."
> DDDD                                                  -Joe E. Lewis 
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://www.blu.org/mailman/listinfo/discuss





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org