Store printf value inside variable?
From: Boo (strum4life_at_hotmail.com)
Date: 03/30/05
- Next message: Kenneth Downs: "Re: csv, array or alternative in mysql table?"
- Previous message: Kenneth Downs: "Re: Problem with delivering POST variable"
- Next in thread: Ken Robinson: "Re: Store printf value inside variable?"
- Reply: Ken Robinson: "Re: Store printf value inside variable?"
- Reply: BKDotCom: "Re: Store printf value inside variable?"
- Reply: Uncle Pirate: "Re: Store printf value inside variable?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Mar 2005 17:52:54 -0800
Using printf, I can get the output I want:
printf("ch:\t6%u\n",$ch);
The %u allows me to convert a negative value to an unsigned decimal
number.
My problem is that I don't want to output this to the screen. I need
to store it as a variable. Is there any way to do this? Thanks!
- Next message: Kenneth Downs: "Re: csv, array or alternative in mysql table?"
- Previous message: Kenneth Downs: "Re: Problem with delivering POST variable"
- Next in thread: Ken Robinson: "Re: Store printf value inside variable?"
- Reply: Ken Robinson: "Re: Store printf value inside variable?"
- Reply: BKDotCom: "Re: Store printf value inside variable?"
- Reply: Uncle Pirate: "Re: Store printf value inside variable?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]