Fractions

From: Date: Sat, 16 Nov 2002 18:35:55 +0000
Subject: Fractions
Groups: php.general 
Request: Send a blank email to php-general+get-124733@lists.php.net to get a copy of this message
I'm wanting to make a simple PHP script that converts Celsius to Farenheit, Farenheit to Celsius, Farenheit to Kelvin, and Celsius to Kelvin. I have the formula but it requires fractions. How can I use frations in PHP to multiply or divide? If you can't, how could I substitute doing so? 5/9 (F - 32) is the forumla to get Celsius to Farenheit if you need it. Thanks, Stephen Craton http://www.melchior.us "Life is a gift from God. Wasting it is like destroying a gift you got from the person you love most." -- http://www.melchior.us

« previous php.general (#124733) next »