| Package | Description |
|---|---|
| com.google.template.soy.basicfunctions |
Plugin package for basic functions.
|
| com.google.template.soy.data.restricted | |
| com.google.template.soy.shared.internal |
Internal shared class among multiple backends.
|
| Modifier and Type | Method and Description |
|---|---|
static NumberData |
BasicFunctionsRuntime.max(SoyValue arg0,
SoyValue arg1)
Returns the numeric maximum of the two arguments.
|
static NumberData |
BasicFunctionsRuntime.min(SoyValue arg0,
SoyValue arg1)
Returns the numeric minimum of the two arguments.
|
static NumberData |
BasicFunctionsRuntime.round(SoyValue value,
int numDigitsAfterPoint)
Rounds the given value to the closest decimal point left (negative numbers) or right (positive
numbers) of the decimal point
|
| Modifier and Type | Class and Description |
|---|---|
class |
FloatData
Float data.
|
class |
IntegerData
Integer data.
|
| Modifier and Type | Method and Description |
|---|---|
static NumberData |
SharedRuntime.negative(SoyValue node)
Performs the unary negation
- operator on the value. |
static NumberData |
SharedRuntime.times(SoyValue operand0,
SoyValue operand1)
Performs the
* operator on the two values. |