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?


On 4/10/10 at 6:55 AM, ertlejack at sbcglobal.net (John Ertle Jr.)
wrote:

>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?

How about reading the documentation? A fundamental aspect of
using Mathematica is to understand the difference between square
brackets "[","]" and parenthesis "(",")". You will find it very
difficult to get useful results with Mathematica until you
understand this very fundamental difference.





  • Prev by Date: Retrieving orphaned code
  • Next by Date: Re: Symplify Table
  • Previous by thread: 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?