Lookup field returning strange values

Lookup field returning strange values

Hi there,

I have a lookup field drop down, pulling values from another form which are displaying simply as 1, 2, 3 etc.

I want to use a deluge script to do certain things based on the value of the lookup field. However, when I get the value of the lookup field in a script, I'm not getting the visible value of the field (1,2, 3, etc) but getting another strange number eg. 1365899000000572499.

Can someone advise how I can get the displayed value of the lookup field rather than this strange number?

Thank you!

Greg