This should be parsed as a number instead of string - see https://github.com/tschaub/ol3/commit/824c9508247a50f0590b1c54683adee6a3918ed0