comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL mathematics
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDL mathematics [message #2705] Wed, 31 August 1994 10:49 Go to previous message
dean is currently offline  dean
Messages: 55
Registered: March 1993
Member
How come the following expression gives the wrong answer.

J = 201+((1461*(1994+4799))/4)-(3*((1994+4899)/100)/4)-2465022

J = -2457713

It should be:

J = 201+((1461.*(1994+4799.))/4.)-(3.*((1994+4899.)/100.)/4.)-24 65022.

J = 16270.5


Kelly Dean
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: WIDGETS - AGAIN
Next Topic: Re: WIDGETS - AGAIN

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:03:43 PDT 2025

Total time taken to generate the page: 0.00432 seconds