A math puzzler for you
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

A math puzzler for you

From: monomaniac21 <mcyi2mr3@googlemail.com>
Date: Fri Apr 07 2006 - 21:34:17 CEST

I have a php code that generates numbers. sometimes is generates whole
numbers but most of the time decimals. How can I, when it generates a
whole number, convert the number to n.0
where n is the whole number?

For example 23 := 23.0
Received on Mon May 1 02:50:52 2006