Setting Values
You can set the decimal field type value with any integer or float.
$entry->example = 25.15;
$entry->example = 25.151415;
$entry->example = 25;
**Note:** The set value will be formatted to fit the field type's configured precision automatically.