|
|||||
|
|||||
Useful Things |
MVEL 2.0 Literals
A literal is used to represent a fixed-value in the source of a particular script. String literalsString literals may be denoted by single or double quotes. String escape sequences
Numeric literalsIntegers can be represented in decimal (base 10), octadecimal (base 8), or hexadecimal (base 16). A decimal integer can be expressed as any number that does not start with zero. An octadecimal representation of an integer is possible by prefixing the number with a zero, followed by digits ranging from 0 to 7. Hexidecimal is represented by prefixing the integer with Floating point literalsA floating point number consists of a whole number and a factional part denoted by the point/period character, with an optional type suffix. BigInteger and BigDecimal literalsYou can represent Boolean literalsBoolean literals are represented by the reserved keywords Null literalThe null literal is denoted by the reserved keywords |
||||
|
Copyright 2003-2006 - The Codehaus. All rights reserved unless otherwise noted.
Powered by Atlassian Confluence
|
|||||