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

Home » Public Forums » archive » Re: Combination
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: Combination [message #75401 is a reply to message #75400] Mon, 28 February 2011 13:12 Go to previous messageGo to previous message
Carsten Lechte is currently offline  Carsten Lechte
Messages: 124
Registered: August 2006
Senior Member
fgg wrote:
> IDL> c = factorial(21)/(factorial(3)*factorial(21-3))
> IDL> print, c
> 1330.0000

WYSINWYG (what you see is NOT what you get):

IDL> print, c, format='(D50)'
1329.9999999999995453
IDL> print, LONG(c)
1329


HTH, chl
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Combination
Next Topic: How to look up the directory tree for calling external DLLs?

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

Current Time: Thu Oct 09 23:03:31 PDT 2025

Total time taken to generate the page: 0.72328 seconds