|
<xsl:message>-------------------------------------------------------------------------------------</xsl:message>
|
|
<xsl:message>round-half-to-even(5.5) should be 6 and is <xsl:value-of select="round-half-to-even((5.5))"/>!</xsl:message>
|
|
<xsl:message>round-half-to-even(2.5) should be 2 and is <xsl:value-of select="round-half-to-even((2.5))"/>!</xsl:message>
|
|
<xsl:message>round-half-to-even(1.6) should be 2 and is <xsl:value-of select="round-half-to-even((1.6))"/>!</xsl:message>
|
|
<xsl:message>round-half-to-even(1.1) should be 1 and is <xsl:value-of select="round-half-to-even((1.1))"/>!</xsl:message>
|
|
<xsl:message>round-half-to-even(1.0) should be 1 and is <xsl:value-of select="round-half-to-even((1.0))"/>!</xsl:message>
|
|
<xsl:message>round-half-to-even(-1.0) should be -1 and is <xsl:value-of select="round-half-to-even((-1.0))"/>!</xsl:message>
|
|
<xsl:message>round-half-to-even(-1.1) should be -1 and is <xsl:value-of select="round-half-to-even((-1.1))"/>!</xsl:message>
|
|
<xsl:message>round-half-to-even(-1.6) should be -2 and is <xsl:value-of select="round-half-to-even((-1.6))"/>!</xsl:message>
|
|
<xsl:message>round-half-to-even(-2.5) should be -2 and is <xsl:value-of select="round-half-to-even((-2.5))"/>!</xsl:message>
|
|
<xsl:message>round-half-to-even(-5.5) should be -6 and is <xsl:value-of select="round-half-to-even((-5.5))"/>!</xsl:message>
|
|
<xsl:message>round-half-to-even(-1.6) should be -2 and is <xsl:value-of select="round-half-to-even((-1.6))"/>!</xsl:message>
|
|
<xsl:message>round-half-to-even(-2.5) should be -2 and is <xsl:value-of select="round-half-to-even((-2.5))"/>!</xsl:message>
|
|
<xsl:message>round-half-to-even(-9552.245, 2) should be -9552.25 and is <xsl:value-of select="round-half-to-even(-9552.245, 2)"/>!</xsl:message>
|
|
<xsl:message>round-half-to-even(-9552.255, 2) should be -9552.26 and is <xsl:value-of select="round-half-to-even(-9552.255, 2)"/>!</xsl:message>
|
|
<xsl:message>round-half-to-even(-9552.255, -2) should be -9600 and is <xsl:value-of select="round-half-to-even(-9552.255, -2)"/>!</xsl:message>
|
|
<xsl:message>-------------------------------------------------------------------------------------</xsl:message><!--
|
|
<xsl:message>round-away-from-zero(5.5) should be 6 and is <xsl:value-of select="round-away-from-zero((5.5))"/>!</xsl:message>
|
|
<xsl:message>round-away-from-zero(2.5) should be 3 and is <xsl:value-of select="round-away-from-zero((2.5))"/>!</xsl:message>
|
|
<xsl:message>round-away-from-zero(1.6) should be 2 and is <xsl:value-of select="round-away-from-zero((1.6))"/>!</xsl:message>
|
|
<xsl:message>round-away-from-zero(1.1) should be 1 and is <xsl:value-of select="round-away-from-zero((1.1))"/>!</xsl:message>
|
|
<xsl:message>round-away-from-zero(1.0) should be 1 and is <xsl:value-of select="round-away-from-zero((1.0))"/>!</xsl:message>
|
|
<xsl:message>round-away-from-zero(-1.0) should be -1 and is <xsl:value-of select="round-away-from-zero((-1.0))"/>!</xsl:message>
|
|
<xsl:message>round-away-from-zero(-1.1) should be -1 and is <xsl:value-of select="round-away-from-zero((-1.1))"/>!</xsl:message>
|
|
<xsl:message>round-away-from-zero(-1.6) should be -2 and is <xsl:value-of select="round-away-from-zero((-1.6))"/>!</xsl:message>
|
|
<xsl:message>round-away-from-zero(-2.5) should be -3 and is <xsl:value-of select="round-away-from-zero((-2.5))"/>!</xsl:message>
|
|
<xsl:message>round-away-from-zero(-5.5) should be -6 and is <xsl:value-of select="round-away-from-zero((-5.5))"/>!</xsl:message>
|
|
<xsl:message>round-away-from-zero(-9552.245, 2) should be -9552.24 and is <xsl:value-of select="round-away-from-zero(-9552.245, 2)"/>!</xsl:message>
|
|
<xsl:message>round-away-from-zero(-9552.255, 2) should be -9552.26 and is <xsl:value-of select="round-away-from-zero(-9552.255, 2)"/>!</xsl:message>
|
|
<xsl:message>round-away-from-zero(-9552.255, -2) should be -9600 and is <xsl:value-of select="round-away-from-zero(-9552.255, -2)"/>!</xsl:message> -->
|
|
<xsl:message>-------------------------------------------------------------------------------------</xsl:message>
|
|
<xsl:message>round(5.5) shoul(-1.6)d be 6 and is <xsl:value-of select="round(5.5)"/>!</xsl:message>
|
|
<xsl:message>round(2.5) shoul(-2.5)d be 3 and is <xsl:value-of select="round(2.5)"/>!</xsl:message>
|
|
<xsl:message>round(1.6) should be 2 and is <xsl:value-of select="round(1.6)"/>!</xsl:message>
|
|
<xsl:message>round(1.1) should be 1 and is <xsl:value-of select="round(1.1)"/>!</xsl:message>
|
|
<xsl:message>round(1.0) should be 1 and is <xsl:value-of select="round(1.0)"/>!</xsl:message>
|
|
<xsl:message>round(-1.0) should be -1 and is <xsl:value-of select="round(-1.0)"/>!</xsl:message>
|
|
<xsl:message>round(-1.1) should be -1 and is <xsl:value-of select="round(-1.1)"/>!</xsl:message>
|
|
<xsl:message>round(-1.6) should be -2 and is <xsl:value-of select="round(-1.6)"/>!</xsl:message>
|
|
<xsl:message>round(-2.5) should be -3 and is <xsl:value-of select="round(-2.5)"/>!</xsl:message>
|
|
<xsl:message>round(-5.5) should be -6 and is <xsl:value-of select="round(-5.5)"/>!</xsl:message>
|
|
<xsl:message>round(-9552.245, 2) should be -9552.24 and is <xsl:value-of select="round(-9552.245, 2)"/>!</xsl:message>
|
|
<xsl:message>round(-9552.255, 2) should be -9552.25 and is <xsl:value-of select="round(-9552.255, 2)"/>!</xsl:message>
|
|
<xsl:message>round(-9552.255, -2) should be -9500 and is <xsl:value-of select="round(-9552.255, -2)"/>!</xsl:message>
|
|
<xsl:message>-------------------------------------------------------------------------------------</xsl:message>
|