Added try catch and type validation to the decimal field

various other small edits
Merge pull request #12 from Draedalus/cbh23_local

Added try catch and type validation to the decimal field