Cant figure it out, need an additional field that will convert seconds into hours
I have a number field called Session-Time which i need converting into hours and displayed in another field. I have tried to create a scripted field with the following painless lines but keeps saying error in script
doc['Session-Time'].value.hours
or
doc['Session-Time'].value / 3600
the preview just says error in script and then points to the dot in .value