Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt
hiddentrue

decimal - decimal number.

Overview

Value of this field is a decimal number.

Warning
titleDecimal 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
nopaneltrue
Common Model Field Attributes

Example

Code Block
theme
themeEclipse
languagexml
Eclipselinenumberstrue

<decimal name="salary" />