global attribute to stand for the parrten of the result.
added a small fix to the pattern, and made it global.
Merge branch 'v1' into update
return the percentage of the tip to be 12%
added the decimal formater to represent a max of two digits after the decimal point,
also changed the representation of the tip to always be fraction representation.
added a fix in the output to avoid - *.00 representation.