MathGroup Archive 1999

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

Search the Archive

Re: Gettting Rid of units

  • To: mathgroup at smc.vnet.net
  • Subject: [mg16606] Re: [mg16506] Gettting Rid of units
  • From: "David Park" <djmp at earthlink.net>
  • Date: Wed, 17 Mar 1999 23:55:10 -0500
  • Sender: owner-wri-mathgroup at wolfram.com

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

Bob,

Thinking about your problem some more, Why don't you use FullForm on
the expression to see how "Degree" is attached. It is probably in
HoldForm or a string. Then, whatever form it is in, you can use a rule
to change it to 1, which gets rid of it.

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/



  • Prev by Date: Importing PostScript files
  • Next by Date: Re: An open letter
  • Previous by thread: Gettting Rid of units
  • Next by thread: Re: Gettting Rid of units