1
0
Fork 0
mirror of https://github.com/24eme/signaturepdf synced 2026-03-14 13:55:44 +01:00

octet en megaoctet

This commit is contained in:
Vincent LAURENT 2025-06-01 10:30:13 +02:00
commit 1819ec4d28

View file

@ -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);
}