Skip to content

Instantly share code, notes, and snippets.

@bekzod
Created May 8, 2014 08:35
Show Gist options
  • Save bekzod/d0f100ce55c618807f53 to your computer and use it in GitHub Desktop.
Save bekzod/d0f100ce55c618807f53 to your computer and use it in GitHub Desktop.
var oPrices = {
"base": Math.ceil(convertCurrency(prcInf[ageToLower + "B"], prcInf.cur, showCurrency)),
"markupAndTaxes": Math.ceil(markup + convertCurrency(prcInf[ageToLower + "T"] || 0, prcInf.cur, showCurrency)),
"markupAndTaxesAndDiscount": Math.ceil(markup + convertCurrency(prcInf[ageToLower + "T"] || 0, prcInf.cur, showCurrency) + discount),
"discount": Math.ceil(Math.abs(discount)),
"amount": Math.ceil(amount)
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment