S
S
SPART4K632021-04-09 14:25:15
Vue.js
SPART4K63, 2021-04-09 14:25:15

How do I get the difference of two numbers in interpolation?

Hello, I have 2 variables, let's say number1 = 1000 and number 2 = 3000 .
There is an interpolation {{ number1 + number2}}, the answer is expected to be 4000, but in the end 10003000. Please tell me
how to correctly calculate in the interpolation.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question