s-news
[Top] [All Lists]

Re: extract digits

To: "Ita Cirovic" <zag_cirovic@yahoo.com>, "S-news" <s-news@lists.biostat.wustl.edu>
Subject: Re: extract digits
From: "Michael Camilleri" <MichaelCamilleri@branz.co.nz>
Date: Fri, 3 Aug 2007 08:43:46 +1200
In-reply-to: <333736.78315.qm@web51408.mail.re2.yahoo.com>
References: <333736.78315.qm@web51408.mail.re2.yahoo.com>
Thread-index: AcfVRdKiAEm/5XVoRkyZfcrAp03oAw==
Thread-topic: extract digits

The modulus operator %% will give you the decimal part

 

x%%1

 

Michael

<Prev in Thread] Current Thread [Next in Thread>