Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Rounding Numbers?
Apologies, I am new to FreeMarker, but I have seen a number of entries in the 'Built-ins' for rounding numbers, but I can't seem to get them to work.
I have a custom column on my sales order that contains the item weight multiplied by the quantity. I can display this on the Advanced PDF form with this:
<td>${item.custcol1}</td>
I have tried variations of examples from the Built-ins documentation such as:
${item.custcol1?ceiling}
${item.custcol1?string.number}
${item.custcol1?string["0"]}
But none of these work, and many error on Preview.
I'm not clear on the difference between number and string fields, but would have expected one of these to work.
0