NAME
Template::Direct::Maths - Handle a mathimatical query
DESCRIPTION
Provide support for doing simple calculations (SIMPLE ONLY!)
METHODS
$class->new( $index, $line )
Create a new instance object.
$maths->tagName( )
Returns 'maths'
$maths->singleTag( )
Returns true
$maths->compile( )
Modifies a template with the data calculated.
$maths->parseStatement( $s, $data )
Return an array structure of values to calculate.
$maths->calculate( $statement )
Return a result based on calulating the statement.
AUTHOR
Martin Owens - Copyright 2008, AGPL