We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am getting this error while download a epub from URL(http://app.sristisukh.com/uploaded/epubfiles/aprakrito_2_epub.epub). I have directly added the above URL in your demo project IRIdium. there also the error is coming.
Error is coming in the Constants class static formatBytes(bytes, decimals) { if (bytes == 0) return 0.0; var k = 1024, dm = decimals <= 0 ? 0 : decimals, sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'], i = (log(bytes) / log(k)).floor(); return (((bytes / pow(k, i)).toStringAsFixed(dm)) + ' ' + sizes[i]); }
HELP -----
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am getting this error while download a epub from URL(http://app.sristisukh.com/uploaded/epubfiles/aprakrito_2_epub.epub).
I have directly added the above URL in your demo project IRIdium. there also the error is coming.
Error is coming in the Constants class
static formatBytes(bytes, decimals) {
if (bytes == 0) return 0.0;
var k = 1024,
dm = decimals <= 0 ? 0 : decimals,
sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'],
i = (log(bytes) / log(k)).floor();
return (((bytes / pow(k, i)).toStringAsFixed(dm)) + ' ' + sizes[i]);
}
HELP -----
The text was updated successfully, but these errors were encountered: