Eric Lim - 2009-10-16

set locale LC_NUMERIC to C before calling strtod