The sum of all of the exterior angles of any regular polygon is 360 (I'm assuming by decagon you mean a regular dodecagon).
Because the total has to be 360, and a decagon has 10 sides, you divide 360 by 10 to get each exterior angle.
360 ÷ 10 = 36, so each exterior angle of a decagon is 36 degrees.