Hi Oscar,
This has to do with choosing the right Data Type when you deal with numbers in a computer:
http://www.exelisvis.com/.../IDL_Data_Types.html
See that:
Integer
A 16-bit signed integer ranging from -32,768 to +32,767.
In other words, you need to specify the data type Long (integer) since:
Long
A 32-bit signed integer ranging in value from
-2 147 483 648 to +2 147 483 647.
So,
IDL> print, 1366L * 24
32784
Cheers,
Fernando