Handle invalid float values where only int is allowed

Fix error management in status_to_dcb