Move parsing of floats to specific function.
Added double parsing as well as make more clear the error messages.
Add Double option, Change defined boolean to a pointer. Added special
write function for the defined boolean