Number formatting for valuelists

var counter = controller.getMaxRecordIndex()+1;
var ListArray = new Array();
for ( var i = 0 ; i < counter ; i++ )
{

ListArray*=i+1;*
}
application.setValueListItems(‘LoopSeqList’,ListArray);
This method functions as expected. The only problem I’m having is that the values in Listarray are shown as 1.0,2.0,3.0 …
Question: How do I prevent the decimal part from showing. The values in the debugger show as 1,2,3…
THX

There’s a number Formatter in the Utils node

ListArray*= utils.numberFormat(i+1, 0) //(numberObject,nrOfFractions)*