MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How do you get Mathematica to evaluate "Floor" to give a number?


First, it would be helpful to know what y, m and da are.

Secondly, do you mean the Mathematica Floor function? Then it should be
written with square brackets with the argument inside, Floor[argument]. So,
do you mean?:

2.44254*10^6 + 2200 Floor[1/9] + 7/4 Floor[1966 + 17 Floor[1/12]]
2.44598*10^6

You might, perhaps, go over some of the CORE LANGUAGE sections in Help:
Language Overview, Expressions, Syntax, Rules & Patterns, Functional
Programming.

David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/  



From: John Ertle Jr. [mailto:ertlejack at sbcglobal.net] 

In[1]:= J = 367*y + Floor (7*(y + Floor ((m + 9)/12))/4) + Floor (275*m/9) +

  da + 1721013.5

Out[1]:= 2.44254*10^6 + (2200 Floor)/9 + 7/4 Floor (1966 + (17 Floor)/12)

How do you get Mathematica to evaluate "Floor" to give a number?




  • Prev by Date: Re: Symplify Table
  • Next by Date: Re: Symplify Table
  • Previous by thread: Re: How do you get Mathematica to evaluate "Floor" to give a number?
  • Next by thread: Re: How do you get Mathematica to evaluate "Floor" to give a number?