Changing to decimal

Since postgre doesn't support double, I switch to decimal