KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm asking how to convert KB MB GB TB & co. into bytes. For example: byteconvert("10KB") // => 10240 byteconvert("10.5KB") // => 10752 byteconvert("1GB") // => 1073741824 byteconvert("1TB") // => 1099511627776 and so on... EDIT: wow. I've asked this question over 4 years ago. Thise kind of things really show you how much you've improved over time!
Tags (comma-separated)
Save Edits
Cancel