MCPcopy Create free account
hub / github.com/feiyu563/PrometheusAlert / dataToString

Function dataToString

static/plugins/pdfmake/pdfmake.js:41640–41649  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

41638};
41639
41640var dataToString = function (data) {
41641 var index = 6;
41642 var s = '';
41643 while (--index >= 0) {
41644 if (s !== '' || index === 0 || data[index] !== 0) {
41645 var t = String(data[index]);
41646 s = s === '' ? t : s + repeat('0', 7 - t.length) + t;
41647 }
41648 } return s;
41649};
41650
41651var FORCED = fails(function () {
41652 return un$ToFixed(0.00008, 3) !== '0.000' ||

Callers 1

pdfmake.jsFile · 0.70

Calls 1

repeatFunction · 0.85

Tested by

no test coverage detected