Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
In article j42@news.service.uci.edu, vshvetsk@fourier.oac.uci.edu (Victor Shvetsky) writes: > I am justr wondering- I just found out after trying to debug the program for three hours > that: 1/8 gives 0 in IDL unless you say: 1/8.0 > Is it such a well-known fact? ... > Victor > Well known to fortran programmers, anyway - integer divide gives the CORRECT integer result - if you want floats, you need to 'declare' them so. rc olsen nps