Basic question about using values from Lookup fields

Basic question about using values from Lookup fields

I've managed to get quite a way with Zoho but keep tripping up over some basic functionality - and I can't find any reference to it in the user manual.

In a Task form, I create a lookup field (ProjectName) to the Project Name in a Projects form.

I discovered that in Deluge script in the Task form,  input.ProjectName returns a BIGINT, rather than the actual Project Name.

So my question is... how can I convert  input.ProjectName into the string of the Project Name that it refers to?

Thanks for you help!

Alex