org.apache.velocity.util
Interface TemplateNumber

All Known Implementing Classes:
TestNumber

public interface TemplateNumber

Any object in the context which implements TemplateNumber will be treated as a number for the purposes of arithmetic operations and comparison.

Author:
Will Glass-Husain

Method Summary
 Number getAsNumber()
          Returns a Number that can be used in a template.
 

Method Detail

getAsNumber

Number getAsNumber()
Returns a Number that can be used in a template.



Copyright © 2002 Apache Software Foundation. All Rights Reserved.