Prism · Math
$sub
Subtracts the second number from the first.
{ total: 100, discount: 15 }{ $sub: [{ $ref: '$.total' }, { $ref: '$.discount' }] }85
Runs in this page on the installed package. The input and the expected output are defined by the example.