Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #14955

Re: How to remove the "0." from "0. + 1.41774i"

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!transit3.readnews.com!newspump.sol.net!posts.news.twtelecom.net!nnrp3.twtelecom.net!not-for-mail
From Bill Rowe <readnews@sbcglobal.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: How to remove the "0." from "0. + 1.41774i"
Date Fri, 21 Jun 2013 09:44:34 +0000 (UTC)
Sender steve@smc.vnet.net
Approved Steven M. Christensen <steve@smc.vnet.net>, Moderator
Message-ID <kq17a2$gnu$1@smc.vnet.net> (permalink)
Lines 13
Organization Time-Warner Telecom
NNTP-Posting-Date 21 Jun 2013 09:46:20 GMT
NNTP-Posting-Host cd55674d.news.twtelecom.net
X-Trace DXC=_iO:lb4Wn`9G9T[HIVmA74C_A=>8kQj6=MOj3YM9`=a8=LiKeSdD3W=EFiONJ7[Go6Cj63g=@J7U=
X-Complaints-To abuse@twtelecom.net
Xref csiph.com comp.soft-sys.math.mathematica:14955

Show key headers only | View raw


On 6/20/13 at 4:44 AM, mike.bayville@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


Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: How to remove the "0." from "0. + 1.41774i" Bill Rowe <readnews@sbcglobal.net> - 2013-06-21 09:44 +0000

csiph-web