comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: fractional part of a number
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: fractional part of a number [message #7937 is a reply to message #7935] Thu, 23 January 1997 00:00 Go to previous messageGo to previous message
Phil Williams is currently offline  Phil Williams
Messages: 78
Registered: April 1996
Member
Mirko Vukovic wrote:
>
> How does one get the fractional part of a number? Could not find
> anything in the manual.
>

Do you mean this:
IDL> n = 5.5
IDL> print, n mod floor(n)
0.500000
IDL>

Good luck,
Phil
--
/*********************************************************** ********/
Phil Williams, Ph.D.
Research Instructor
Children's Hospital Medical Center "One man gathers what
Imaging Research Center another man spills..."
3333 Burnet Ave. -The Grateful Dead
Cincinnati, OH 45229
email: williams@irc.chmcc.org
URL: http://scuttle.chmcc.org/~williams/
/*********************************************************** ********/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Reading Multiple Image TIFFs
Next Topic: Re: idl and pv-wave (GUI differences?)

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 25 14:38:59 PDT 2025

Total time taken to generate the page: 3.44469 seconds