Fix SpEL docs indicating +/- is Supported on Date

Issue: SPR-11057
master
Phillip Webb 11 years ago
parent b830d7362d
commit 5c7eaaa969
  1. 8
      src/asciidoc/index.adoc

@ -11872,10 +11872,10 @@ boolean falseValue = parser.parseExpression(expression).getValue(societyContext,
[[expressions-operators-mathematical]] [[expressions-operators-mathematical]]
===== Mathematical operators ===== Mathematical operators
The addition operator can be used on numbers, strings and dates. Subtraction can be used The addition operator can be used on both numbers and strings. Subtraction, multiplication
on numbers and dates. Multiplication and division can be used only on numbers. Other and division can be used only on numbers. Other mathematical operators supported are
mathematical operators supported are modulus (%) and exponential power (^). Standard modulus (%) and exponential power (^). Standard operator precedence is enforced. These
operator precedence is enforced. These operators are demonstrated below. operators are demonstrated below.
[source,java] [source,java]
[subs="verbatim,quotes"] [subs="verbatim,quotes"]

Loading…
Cancel
Save