public interface TemplateNumberModel extends TemplateModel
ArithmeticEngine
.
Objects of this type should be immutable, that is, calling getAsNumber()
should always return the same value
as for the first time.
NOTHING
Modifier and Type | Method and Description |
---|---|
java.lang.Number |
getAsNumber()
Returns the numeric value.
|
java.lang.Number getAsNumber() throws TemplateModelException
null
.Number
instance associated with this number model.TemplateModelException