[calculate] – Calculate Formula BBCode

[calculate formula="1 + 1"]

Generates a text element with the formula result.

Attributes:

AttributeExamplesDescription
formula*formula="1 + 1"
formula="number_123 + range_456"
formula="( min(number_123, range_456) * pi ) / 100"
The formula to calculate.
Required.

List of symbols:

AttributeExamplesDescription
Operators+
-
*
/
List of supported operators.
Functionsabs
acos
acosh
asin
asinh
atan
atanh
atantwo
ceil
cos
cosh
exp
expmone
floor
hypot
log
logten
max
min
pow
round
sin
sinh
sqrt
tan
tanh
List of supported functions.
Constantse
pi
sqrtOneTwo
sqrtPi
sqrtTwo
twoPi
List of supported constants.
Others(
)
,
.
List of supported mathematical characters.

This BBCode also supports common HTML attributes.