Floating point numbers

Reply

Join Date: Mar 2008
Posts: 27
Reputation: alkeshtech is an unknown quantity at this point 
Solved Threads: 0
alkeshtech alkeshtech is offline Offline
Light Poster

Floating point numbers

 
0
  #1
Apr 7th, 2009
Hey guys,
I am writing a program which reads in 2 floating point numbers from file and write the output to a file. The multiply part is very easy, but I can't seem to figure out how to write f loat to a file.
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 187
Reputation: rahul8590 is on a distinguished road 
Solved Threads: 10
rahul8590's Avatar
rahul8590 rahul8590 is offline Offline
Junior Poster

Re: Floating point numbers

 
0
  #2
Apr 7th, 2009
well at first place i would like you to do the problem from the easy level . by this i mean its better to first just accept the numbers and then do the job you want to do and then add ne amount of sophistication you want to add.
<?php
$data = $_POST['data'];
if(empty($data)) {
echo "byte me" ; }
?>
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC