gnuwolf
05/15/2019, 4:03 AM<#assign totalweight = totalweight + toNumber(salesorder.item[0].custcol_item_weight)>
toNumber() is throwing an error...anybody can help me with this?gnuwolf
05/15/2019, 1:33 PM?number
michoel
05/15/2019, 8:54 PMtoNumber
is a custom Freemaker function I wrote that you need to include in your template. ?number
works for most cases but will fail for example if there is a currency symbol.