Add payment requests

This commit is contained in:
Kukks
2019-01-14 22:43:29 +01:00
committed by nicolas.dorier
parent 1e7a2ffe97
commit ad25a2ed08
30 changed files with 2884 additions and 10 deletions

View File

@@ -0,0 +1,17 @@
Number.prototype.noExponents= function(){
var data= String(this).split(/[eE]/);
if(data.length== 1) return data[0];
var z= '', sign= this<0? '-':'',
str= data[0].replace('.', ''),
mag= Number(data[1])+ 1;
if(mag<0){
z= sign + '0.';
while(mag++) z += '0';
return z + str.replace(/^\-/,'');
}
mag -= str.length;
while(mag--) z += '0';
return str + z;
};