Configuration
Below is the full configuration available with defaults values:
"example" => [
"type" => "anomaly.field_type.decimal",
"config" => [
"default_value" => null,
"separator" => ",",
"point" => ".",
"decimals" => 2,
"min" => null,
"max" => null,
]
]
Configuration
Key | Example | Description |
---|---|---|
default_value |
25.5 |
The default value. |
separator |
The thousands separator. |
|
point |
, |
The decimal point. |
decimals |
4 |
The decimal precision to enforce. |
min |
0.01 |
The minumum value allowed. |
max |
99.99 |
The maximum value allowed. |