Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Test values
- let nuTestSub = numeral(100);
- let nuTestGst = numeral(nuTestSub.value());
- nuTestGst.multiply(NUM_GST_PERCENT);
- let nuTestTotal = numeral(nuTestSub.value());
- nuTestTotal.multiply(NUM_TOTAL_PERCENT);
- console.log(`[Test] Sub Total: ${nuTestSub.value()} | GST Amount: ${nuTestGst.value()} | Total: ${nuTestTotal.value()}`);
Add Comment
Please, Sign In to add comment