parse events as integer instead of double