Problem

When setting default value for Radioactivity energy and when accidentally entering trailing space, new nodes won't be created because this error kills node creation proccess:
SQLSTATE[01000]: Warning: 1265 Data truncated for column 'field_radioactivity_radioactivity_energy' at row 1

So when I enter "30" as default value, system works. (without quotes of course)
When I enter "30 " as default value, new nodes are not created and error is logged.

Proposed resolution

Trim trailing spaces when saving form values.
So when user accidentally enters "30 " it gets converted to "30".