Added decimal mark support, fixes to 'val()'.