fix example for py3

division in python 3 return a decimal.