A negative common difference makes a decreasing sequence, and the same formulas still work. Start at 10 with a difference of -2, and the first 6 terms are 10, 8, 6, 4, 2, 0. The 6th term is 10 + 5 x (-2) = 0, and the sum is 6 / 2 x (10 + 0) = 30. The terms cross zero and keep going down, so term 7 is -2.
A difference of 0 makes a constant sequence where every term equals the first term. Start at 100 with a difference of 0, and the 5th term is 100 and the sum of the first 5 terms is 500. The formula still gives the right answer, because a(n) = a1 + (n - 1) x 0 = a1.
Decimal differences work the same way. Start at 1.5 with a difference of 0.5, and the 20th term is 1.5 + 19 x 0.5 = 11, with a sum of 20 / 2 x (1.5 + 11) = 125. Money problems often use decimals like this, for example a weekly saving plan that rises by $2.50 each week.