UNPKG

@topvisor/ui

Version:

Topvisor UI-kit Vue

3 lines (2 loc) 461 B
define(["require","exports"],(function(f,n){"use strict";if(typeof u>"u")var u=window.Vue;const d=(t,r=100,o=0)=>{if(t==="--")return t;let e=r*1?t/r:0;return e*=100,!o&&e<1?e=Math.round(e*Math.pow(10,2))/Math.pow(10,2):e=Math.round(e*Math.pow(10,o))/Math.pow(10,o),e},a=t=>{let r=Math.sin(t)*1e4;return r-Math.floor(r)};n.percentOfNumber=d,n.randomBySeed=a,Object.defineProperty(n,Symbol.toStringTag,{value:"Module"})})); //# sourceMappingURL=number.amd.js.map