Hi Sourabh



Do you need a specific number of decimals? Otherwise you can just remove the "Math.round()" function.



var dur_seconds = 2400;


var dur_hours = dur_seconds / 3600;


gs.print(dur_hours); // *** Script: 0.6666666666666666



The example above is updated.



Best regards


Markus