Formatting Weight Range : Adjusting decimal places in strings

This section focuses on formatting the weight range (e.g., “10 – 20 lbs”) into a more readable format with one decimal place. Assign Original String: The weight range string is stored in the dimension_range variable. <#assign dimension_range = itemLineDetails.weightrange /> Extract Numeric and Unit Parts: The numeric part of the weight range is separated from… Continue reading Formatting Weight Range : Adjusting decimal places in strings

How to display $ currency and value upto 2 decimal places at same time in email template page

We can use (?string.currency) in the email template of the netsuite.The most basic way to format a number as Currency is to add ?string.currency onto the end of the variable that is being used. This will bring any numbers to 2 decimal places and will also put a $ next to the number. Also, negative… Continue reading How to display $ currency and value upto 2 decimal places at same time in email template page