(v)
| 2760 | decimalPlaces = decimalPlaces !== undefined ? decimalPlaces : 2; |
| 2761 | |
| 2762 | function floatToString(v) { |
| 2763 | if (Math.round(v) === v) { |
| 2764 | return '' + Math.round(v); |
| 2765 | } else { |
| 2766 | return v.toFixed(decimalPlaces); |
| 2767 | } |
| 2768 | } |
| 2769 | |
| 2770 | function packValues() { |
| 2771 | var s = ''; |