AC Milan and Sweden striker Zlatan Ibrahimovic said on Sunday he had decided to end his football career.