Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save trycf/a04ba0b2592df529ccf7053966b17d69 to your computer and use it in GitHub Desktop.
Save trycf/a04ba0b2592df529ccf7053966b17d69 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfset request.linesSt.creditLines.receivedQuantity = "">
<cfset request.linesSt.creditLines.creditAmount = 1934.96>
<cfset request.linesSt.creditLines.restockingAmount = 483.74>
<cfset request.linesSt.creditLines.AdditionalCost = "">
<cfoutput>#NumberFormat((val(request.linesSt.creditLines.receivedQuantity)*val(request.linesSt.creditLines.invoicedUnitPrice)) - val(request.linesSt.creditLines.restockingAmount) - val(request.linesSt.creditLines.AdditionalCost),"0.00")#</cfoutput>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment