net.sf.saxon.functions

Class Rounding

public final class Rounding extends SystemFunction

This class supports the ceiling(), floor(), round(), and round-to-half-even() functions, and also the abs() function
Field Summary
static intABS
static intCEILING
static intFLOOR
static intHALF_EVEN
static intROUND
Method Summary
intcomputeCardinality()
Determine the cardinality of the function.
ItemevaluateItem(XPathContext context)
Evaluate the function

Field Detail

ABS

public static final int ABS

CEILING

public static final int CEILING

FLOOR

public static final int FLOOR

HALF_EVEN

public static final int HALF_EVEN

ROUND

public static final int ROUND

Method Detail

computeCardinality

public int computeCardinality()
Determine the cardinality of the function.

evaluateItem

public Item evaluateItem(XPathContext context)
Evaluate the function