Results in failure means, that I got a message window with "The selected resource is not a valid template style". I construct a little sample. Below is the jrxml file. With the FLOOR function, jasper is unable to find the style template. Without a function everything works fine. <?xml version="1.0" encoding="UTF-8"?><!-- Created with Jaspersoft Studio version 6.3.1.final using JasperReports Library version 6.3.1 --><!-- 2016-12-21T13:41:19 --><jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="TEST" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="dacf0ab0-76b4-42bf-b619-531bbc6f3a4e"> <template><![CDATA[(FLOOR(4.5 ) == 4.0) ? "C:\Users\amonse\JaspersoftWorkspace\MyReports\TEST_STYLE.jrtx" : "C:\Users\amonse\JaspersoftWorkspace\MyReports\TEST_STYLE.jrtx"]]></template> <queryString> <![CDATA[]]> </queryString> <background> <band splitType="Stretch"/> </background> <title> <band height="79" splitType="Stretch"/> </title> <pageHeader> <band height="35" splitType="Stretch"/> </pageHeader> <columnHeader> <band height="61" splitType="Stretch"/> </columnHeader> <detail> <band height="125" splitType="Stretch"> <textField> <reportElement x="135" y="53" width="100" height="30" uuid="15d1ebaf-30ab-4c1b-afbc-34789b8f8fb1"/> <textFieldExpression><![CDATA[FLOOR(4.5)]]></textFieldExpression> </textField> </band> </detail> <columnFooter> <band height="45" splitType="Stretch"/> </columnFooter> <pageFooter> <band height="54" splitType="Stretch"/> </pageFooter> <summary> <band height="42" splitType="Stretch"/> </summary></jasperReport>[/code]