Excerpt |
---|
|
decimal - decimal number. |
Overview
Value of this field is a decimal number.
Warning |
---|
title | Decimal values range and precision |
---|
|
Remember to include Unscaled Value Validator and Scale Validator in each decimal number field. With them you could get clear message about unsuccessful validation instead of internal error when you try to save too big (or too precise) value. Above validators also changes database's scale & precision attributes in column definition. |
Common Attributes
Insert excerpt |
---|
| Common Model Field Attributes |
---|
| Common Model Field Attributes |
---|
nopanel | true |
---|
|
...
Insert excerpt |
---|
| Additional common attributes for primitive fields |
---|
| Additional common attributes for primitive fields |
---|
nopanel | true |
---|
|
Example
Code Block |
---|
theme | Eclipse |
---|
language | xml | theme | Eclipse |
---|
linenumbers | true |
---|
|
<decimal name="salary" />
|