tecnickcom / TCPDF

Official clone of PHP library to generate PDF documents and barcodes
https://tcpdf.org
Other
4.18k stars 1.51k forks source link

QRCode printing problem #533

Open sandan22 opened 2 years ago

sandan22 commented 2 years ago

I have an error when I want to print a QRCode.

The error appear on protected function getCode() and the error I have is :

"Implicit conversion from float 0.2 to int loses precision" ".../tecnickcom/tcpdf/include/barcodes/qrcode.php" at line 891

Do you have any suggestion ?

sandan22 commented 2 years ago

The problem are resolved with the pull request #524. Thanks.

aryan027 commented 2 years ago

Yes he is right