com.icl.saxon.functions
public class FormatNumber extends Function
| Method Summary | |
|---|---|
| Value | evaluate(Context c)
Evaluate in a general context |
| String | evaluateAsString(Context context)
Evaluate in a context where a string is wanted |
| String | formatNumber(double n, String format, DecimalFormatSymbols dfs)
Here is the method that does the work. |
| int | getDataType()
Determine the data type of the exprEssion |
| int | getDependencies()
Determine the dependencies |
| String | getName() |
| Expression | reduce(int dep, Context c)
Reduce the dependencies |
| Expression | simplify()
Simplify and validate |
Returns: Value.STRING