Path: news.mathworks.com!not-for-mail
From: "Drew " <metuchen.premier@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: digit
Date: Wed, 22 Feb 2012 15:35:13 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 1
Message-ID: <ji31vh$quh$1@newscl01ah.mathworks.com>
Reply-To: "Drew " <metuchen.premier@gmail.com>
NNTP-Posting-Host: www-05-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1329924913 27601 172.30.248.37 (22 Feb 2012 15:35:13 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 22 Feb 2012 15:35:13 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2199381
Xref: news.mathworks.com comp.soft-sys.matlab:758541

i want to do a calculation on pi and need to figure out how to remove digits sequentially from 3.14159.... then 3.4159..... then 3.159.... then 3.59....and so on to a finite number of steps any help greatly appreciated