MathGroup Archive 1999

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

Search the Archive

Re: Gettting Rid of units

  • To: mathgroup at smc.vnet.net
  • Subject: [mg16570] Re: Gettting Rid of units
  • From: Harald Giese <giese at dkrz.de>
  • Date: Wed, 17 Mar 1999 23:54:52 -0500
  • Organization: Institut fuer Meereskunde, Universitaet Hamburg
  • References: <7clali$9hk@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

"Robert B. Love" wrote:
> 
> I have a function I can call that returns a list of angles
> with "Degree" attached, like this:
> 
>   {96.231 Degree, 96.8642 Degree...}
> 
> I can't see how to remove the "Degree" unit.  What I want is a
> list of pure values.  I confess I don't know how the unit is
> attached and I don't have source for the function called.
> ...

Hi Robert,

The Mathematica Help says: 
"Degree gives the number of radians in one degree. It has a numerical
value of Pi/180."

You can easily remove it by dividing your list with Degree: 
{96.231 Degree, 96.8642 Degree...} / Degree

Regards,
Harald

-- 
Harald Giese
Email: giese at dkrz.de
Phone: +49 (0)40 4123 5796; Fax: +49 (0)40 5605724
Institut fuer Meereskunde der Universitaet Hamburg
(Institute of Oceanography of the University of Hamburg)
Troplowitzstrasse 7, D-22529 Hamburg


  • Prev by Date: Re: ImplicitPlot3D problem
  • Next by Date: Re: What is the greatest known Fibonacci number?
  • Previous by thread: Re: Gettting Rid of units
  • Next by thread: Re: Gettting Rid of units