Guest User

Untitled

a guest
Apr 24th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. //Test values
  2. let nuTestSub = numeral(100);
  3.  
  4. let nuTestGst = numeral(nuTestSub.value());
  5. nuTestGst.multiply(NUM_GST_PERCENT);
  6.  
  7. let nuTestTotal = numeral(nuTestSub.value());
  8. nuTestTotal.multiply(NUM_TOTAL_PERCENT);
  9. console.log(`[Test] Sub Total: ${nuTestSub.value()} | GST Amount: ${nuTestGst.value()} | Total: ${nuTestTotal.value()}`);
Add Comment
Please, Sign In to add comment