California high school student Derek Hollowood created this function after considering recurrence relations:
h(-10) = 0.987654321 h(-9) = 0.87654321 h(-8) = 0.7654321 h(-7) = 0.654321 h(-6) = 0.54321 h(-5) = 0.4321 h(-4) = 0.321 h(-3) = 0.21 h(-2) = 0.1 h(-1) = 0 h(0) = 0 h(1) = 1 h(2) = 12 h(3) = 123 h(4) = 1234 h(5) = 12345 h(6) = 123456 h(7) = 1234567 h(8) = 12345678 h(9) = 123456789
(Thanks to Chris Smith for the tip.)