fixed floating-point parsing problems that happens in systems with non en-US cultures

* Related to #14
* Tests now run fine on non en-US systems.