On 2017.08.05 18:35:52, you,
 the extraordinary Skip Cave, spake thus:

> From: Skip Cave <s...@caveconsulting.com>
> Subject: Re: [Jprogramming] Fractional parts
> Date: Sat, 5 Aug 2017 18:35:52 -0500
> To: "programm...@jsoftware.com" <programm...@jsoftware.com>
> 
> Oops! i meant:
> 
> How does one find the fractional parts of a vector of floating point
> numbers?
> 
> 0.542857 1.1875 1.96552 2.92308 4.13043 5.7 7.82353 10.8571 15.5455 23.75
> 41.8 114 247
> 
> i want:
> 0.542857 0.1875 0.96552 0.92308 0.13043 0.7 0.82353 0.8571 5.5455 0.75 0.8
> 0 0
> 
> (Last two integers have zero fractional part.)
> 

I think (- <.) would do.
-- 
Nollaig MacKenzie
ftp://ftp.nollaig.ca/pub/pap/
pgp key C6E9845A
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to