[Thread Prev][Thread Next][Index]

Re: [ferret_users] INT showing strange values



DearSulagna,

Does INT (X) (link) not work on user-defined variables?

It would be nice if you could send a complete (self-contained) example including datafiles if necessary and if they are not too large, so that anybody can reproduce your problem. If it is a bug (which it looks like, to me), the Ferret developers may like to look at it.

Ryo
For example, the variable NB_DEG_LIB has the following values, of which I want to take the integer values, which is supposed to be the part before decimal. However you would see on using int(NB_DEG_LIB) it returns varied values. Am I missing something here? Or should I use something else?

list/y=40n:50n/z=200 NB_DEG_LIB

VARIABLE : GDN * ( 1 - R1 * R2 ) / (1 + R1 * R2 )

48.5N / 139:3.00

47.5N / 138:4.00

46.5N / 137:7.00

45.5N / 136:7.00

44.5N / 135:12.00

43.5N / 134:19.00

42.5N / 133:10.00

Re: [ferret_users] INT showing strange values

  • From: Sulagna
[Thread Prev][Thread Next][Index]