I have an issue where I need to essentially do math on the fly and not a function. I have 3 elements that need to be multiplied and have yet to find a solution. I have added the element "number:2" but that only pertains to the elements being multiplied and not to the whole sum. Below I have my current code.
<input disabled name='e_total{{$index}}' type='text' id='e_total{{$index}}' value='{{ (item.quantity | number:2) * (item.cost | number:2) * (item.markup | number:2)}}'/>
Is there a way to do this with binding? I have also changed my input type to number but that does not seem to work. Thanks for any direction.