FileDocCategorySizeDatePackage
FuncFloor.javaAPI DocJava SE 6 API1501Tue Jun 10 00:23:14 BST 2008com.sun.org.apache.xpath.internal.functions

FuncFloor

public class FuncFloor extends FunctionOneArg
Execute the Floor() function.
xsl.usage
advanced

Fields Summary
static final long
serialVersionUID
Constructors Summary
Methods Summary
public com.sun.org.apache.xpath.internal.objects.XObjectexecute(com.sun.org.apache.xpath.internal.XPathContext xctxt)
Execute the function. The function must return a valid object.

param
xctxt The current execution context.
return
A valid XObject.
throws
javax.xml.transform.TransformerException


                            
       
  
    return new XNumber(java.lang.Math.floor(m_arg0.execute(xctxt).num()));