Used python decimal instead of floating point