Documentation
¶
Overview ¶
package math provides basic math functions for use with the template engine.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AND ¶
`AND` the logical AND of its two boolean arguments - a: the first boolean value - b: the second boolean value - returns: `true` if both `a` and `b` are `true`, otherwise it returns `false`
func Divide ¶
Divide divides two integers - a: the first integer - b: the second integer - returns: the quotient of the two integers
func Minus ¶
Minus subtracts two integers - a: the first integer - b: the second integer - returns: the difference of the two integers
func Multiply ¶
Multiply multiplies two integers - a: the first integer - b: the second integer - returns: the product of the two integers
func NOT ¶
The NOT function returns the opposite of the boolean value passed to it. - a: the boolean value to negate - returns: the opposite of the boolean value passed to it
Types ¶
This section is empty.