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

Home » Public Forums » archive » Modulo in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Modulo in IDL [message #11007] Mon, 23 February 1998 00:00
wmn is currently offline  wmn
Messages: 4
Registered: December 1996
Junior Member
Try this one

for i = 0.1,1.0,0.1 do print, 10*i mod i

or this one

print, 1.0 mod 0.1
print, 1.0 mod 0.2
print, 6.0 mod 0.3
print, 2.0 mod 0.4

Modulo should work for all datatypes!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Modulo in IDL
Next Topic: SMP experiences with IDL

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

Current Time: Thu Oct 09 02:16:00 PDT 2025

Total time taken to generate the page: 0.88355 seconds