TemplateNumber (Velocity 1.7 API)
Keywords: org.apache.velocity.util.TemplateNumber interface

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.velocity.util
Interface TemplateNumber

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.

Since:
  1.5
Author:
  Will Glass-Husain

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

Method Detail

### getAsNumber

    public Number getAsNumber()

  Returns a Number that can be used in a template.

  Returns:
    A Number that can be used in a template.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.