Re: Fwd: Help - removal of trailing zeros from double integer field

From: Date: Sat, 20 Jan 2001 17:42:22 +0000
Subject: Re: Fwd: Help - removal of trailing zeros from double integer field
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-35819@lists.php.net to get a copy of this message
This might help. $no_trailing_zeroes = preg_replace("/0+$/","",$trailing_zeroes); > Dear friends, > > I am accessing MySQL database using apache and php. > I have to display a double integer field without trailing zeros. > The number of digits after the decimal point varies. > > I have tried searching the archive and did not get any previous questions. > > Kindly help me in this regard. > > Thanking you. > Sincerely, > Raveendra Reddy B > National Law School > Bangalore > India > E-mail: ravi@nls.ac.in > > ----- End forwarded message ----- > -- http://www.artwells.com/ That which indicates nothing introduces everything.

« previous php.general (#35819) next »