Fixed a bug with building diff command in web-api.

Made a parseDouble function based off the already existing parseInt function to avoid running into a NPE.