Re: How to remove the "0." from "0. + 1.41774i"
- To: mathgroup at smc.vnet.net
- Subject: [mg131258] Re: How to remove the "0." from "0. + 1.41774i"
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Sat, 22 Jun 2013 03:31:48 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-outx@smc.vnet.net
- Delivered-to: mathgroup-newsendx@smc.vnet.net
- References: <20130621100010.A61D36A41@smc.vnet.net>
No, Chop won't do that -- assuming you use the proper symbol I (or its equivalent Esc ii Esc): Chop[0. + 1.41774 I] 0. + 1.41774 I On Jun 21, 2013, at 6:00 AM, Bill Rowe <readnews at sbcglobal.net> wrote: > On 6/20/13 at 4:44 AM, mike.bayville at gmail.com (Mike Bayville) wrote: > >> Can anyone suggest a built-in function for removing the "0." from >> "0. + 1.41774i"? > > Chop. That is: > > In[1]:= Chop[0. + 1.41774 i] > > Out[1]= 1.41774 i > > --- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2838 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305
- References:
- Re: How to remove the "0." from "0. + 1.41774i"
- From: Bill Rowe <readnews@sbcglobal.net>
- Re: How to remove the "0." from "0. + 1.41774i"