Date: 04/30/00
- Next message: Steven Glogger: "AW: [PHP3] formatting a double"
- Previous message: Rasmus Lerdorf: "Re: [PHP3] Re: Remove last character."
- Next in thread: Steven Glogger: "AW: [PHP3] formatting a double"
- Reply: Steven Glogger: "AW: [PHP3] formatting a double"
- Reply: Mike Sheldon: "RE: [PHP3] formatting a double"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have a variable num1 and its value is 3,666666667.
But I want to print it as 3,66 not 3,666666667.
So how must I write the echo statement to format the double number?
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Steven Glogger: "AW: [PHP3] formatting a double"
- Previous message: Rasmus Lerdorf: "Re: [PHP3] Re: Remove last character."
- Next in thread: Steven Glogger: "AW: [PHP3] formatting a double"
- Reply: Steven Glogger: "AW: [PHP3] formatting a double"
- Reply: Mike Sheldon: "RE: [PHP3] formatting a double"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

