Skip to main content

Logarithm

Anatomy

<math:log var="var" base="10">
float
</math:log>

Description: MATH:LOG calculates the logarithm of a value using a given logarithmic base.

Attributes

NameTypeDescriptionDefined By
varvarResult variable name math:log
baseintLogarithmic base math:log

Results:

BindingTypePredicate
varfloatN/A

Examples

Example

<output>
<math:log base="2">1024</math:log>
</output>

<!-- 10 -->