Over a million developers have joined DZone.
Platinum Partner

MathOps: Simple Math Operations In Xslt

· Java Zone

Learn more about Kotlin, a new programming language designed to solve problems that software developers face every day brought to you in partnership with JetBrains.

cfMathOps.xml:





  4
  3.2
  11



cfMathOps.xsl







math operations from xslt

A. 4 + 3.2 = B. 3.2 - 4 = C. 4 * 3.2 = D. 11/3.2 = E. 4 + 3.2 * 11 = F. (4 + 3.2) * 11 = G. 11 mod 4 = H. 4 + 3.2 + 11 = I. floor(3.2) = J. ceiling(3.2) = K. round(3.2) = L. 11 + count(*) = M. 11 + "hello" = N. 3.2 + string-length("3.2") =

The Java Zone is brought to you in partnership with JetBrains.  Discover how powerful static code analysis and ergonomic design make development not only productive but also an enjoyable experience.

Topics:
math

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}