It is able to write {{ myval.add:5 }}
, {{ myval|add:value }}
and even {{ myval|add:-5 }}
.
However, I can't find out what I should type to add value * -1 like {{ myval|add:-value }}
. This doesn't work, sadly.
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…