try nextYear.toString()?
# suitescript
a
try nextYear.toString()?