[Cialug] Algorithm

David Stout cialug@cialug.org
Wed, 19 Jan 2005 10:04:00 -0800 (PST)


--0-1914692931-1106157840=:83814
Content-Type: text/plain; charset=us-ascii

I would like to thank everyone for there suggestions. It gave me insight on differant ways of doing the same thing.

Morris Dovey <mrdovey@iedu.com> wrote:Chris Hilton wrote:
> The answer is always 0. int(.92) is 0. I don't see how you
> can do integer arithmetic on a non-integer value. Surely you
> are reading the directions wrong somehow...

Yuppers. Requires magic (left as an exorcise for the student)

(-8

-- 
Morris Dovey
West Des Moines, Iowa USA

_______________________________________________
Cialug mailing list
Cialug@cialug.org
http://cialug.org/mailman/listinfo/cialug



David Stout
Business Forms Analyst & Student
		
---------------------------------
Do you Yahoo!?
 Take Yahoo! Mail with you! Get it on your mobile phone.
--0-1914692931-1106157840=:83814
Content-Type: text/html; charset=us-ascii

<DIV>I would like to thank everyone for there suggestions. It gave me insight on differant ways of doing the same thing.<BR><BR><B><I>Morris Dovey &lt;mrdovey@iedu.com&gt;</I></B> wrote:
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Chris Hilton wrote:<BR>&gt; The answer is always 0. int(.92) is 0. I don't see how you<BR>&gt; can do integer arithmetic on a non-integer value. Surely you<BR>&gt; are reading the directions wrong somehow...<BR><BR>Yuppers. Requires magic (left as an exorcise for the student)<BR><BR>(-8<BR><BR>-- <BR>Morris Dovey<BR>West Des Moines, Iowa USA<BR><BR>_______________________________________________<BR>Cialug mailing list<BR>Cialug@cialug.org<BR>http://cialug.org/mailman/listinfo/cialug<BR></BLOCKQUOTE></DIV><BR><BR>David Stout<br>Business Forms Analyst &amp; Student<p>
		<hr size=1>Do you Yahoo!?<br> 
<a href="http://us.rd.yahoo.com/mail_us/taglines/mobile/*http://mobile.yahoo.com/maildemo">Take Yahoo! Mail with you!</a> Get it on your mobile phone.
--0-1914692931-1106157840=:83814--