mirror of
https://github.com/24eme/signaturepdf
synced 2026-03-14 13:55:44 +01:00
octet en megaoctet
This commit is contained in:
parent
ea6e7805d6
commit
1819ec4d28
1 changed files with 1 additions and 1 deletions
|
|
@ -257,5 +257,5 @@ async function imageToPdf(file) {
|
|||
}
|
||||
|
||||
function convertOctet2MegoOctet(nbOctet) {
|
||||
return (Math.round(nbOctet/1024/1024*100)/100).toFixed(2);
|
||||
return (Math.round(nbOctet/1000/1000*100)/100).toFixed(2);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue