       How do I eliminate premultipliers of "1." ?

• To: mathgroup at smc.vnet.net
• Subject: [mg31146] How do I eliminate premultipliers of "1." ?
• From: bap at roe.ac.uk (Brett Patterson)
• Date: Sat, 13 Oct 2001 02:47:11 -0400 (EDT)
• Sender: owner-wri-mathgroup at wolfram.com

```Consider the following:

In := 1 a / 1
Out := a

In := 1.0 a / 1.0
Out := 1. a

Now consider these identities:

In := (1 / 1) == 1
Out := True

In := (1.0 / 1.0) == 1.0
Out := True

In := (1 / 1) == 1.0
Out := True

In := (1.0 / 1.0) == 1
Out := True

Given that it is clear mathematically that I want the
answer to In to evaluate to just "a", and given that
Mathematica is clearly recognizing that 1.0 / 1.0 is the
same as 1 / 1, can someone please tell me why Out contains
the premultiplier "1." and how to eliminate it in expressions
that might contain this superfluous unit multiplier in various places.

Thanks!

Brett Patterson

UK Astronomy Technology Centre
The Royal Observatory
Blackford Hill
Edinburgh EH9 3HJ
Scotland

```

• Prev by Date: Re: Multiple scales for Y axis of plot?
• Next by Date: Re: Can Fit give function coefficients?
• Previous by thread: Re: Simplex visualization
• Next by thread: Re: How do I eliminate premultipliers of "1." ?