Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
i have received spellout error and converted into numbers into word with points like 234.45 with dec
i have received spellout error and converted into numbers into word with points like 234.45 with decimal
how can i display
var Totalpaidamount = rec.getValue({
fieldId: "custrecord_njt_hr_fs_to_be_paid",
});
log.debug("Totalpaidamount", Totalpaidamount);
if (Totalpaidamount >= 0) {
log.debug("hihello");
var netAmt = Totalpaidamount;
netAmt = netAmt.toFixed(2);
var str = netAmt.toString();
var amdSplit = str.split(".");
var dirhamsAmt = parseInt(amdSplit[0]);
var filsAmt = parseInt(amdSplit[1]);
var netAmt1 = parseInt(netAmt);
if (filsAmt) {
var dirhamsSpellOut = formati18n.spellOut({
number: dirhamsAmt,
locale: "EN",
});
var filsSpellOut = formati18n.spellOut({
number: filsAmt,
locale: "EN",
});
totalinwords =
dirhamsSpellOut + " dirhams and " + filsSpellOut + " Fils only ";
totalinwords = totalinwords.toLowerCase();
} else {
var spellOut = formati18n.spellOut({