<script> var arr = new Array (88+1).join(" ").split(""); arr.reduce(function(prev, next, i) { arr[i] = prev.toFixed(2); return prev *= 1.059526 }, 5.94); document.write(arr.join("<br>")); </script>