As already mentioned, you will have to compare the position of the slider with the amount of money. Here is a nice, almost logarithmic mapping that has the nice property of giving rounded values:
var slider_values = [];
var mantissas = [1, 1.2, 1.4, 1.6, 1.8, 2, 2.5, 3, 3.5, 4, 4.5, 5, 6, 7, 8, 9];
for (var base = 1; base < 10000; base *= 10) {
for (var i = 0; i < mantissas.length; i++)
slider_values.push(mantissas[i] * base);
}
slider_values.push(10000);
This maps the integer range [0..64] to the range 1 - 10000.
source
share