Skip to content

Instantly share code, notes, and snippets.

@SecurityForUs
Created December 3, 2012 20:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SecurityForUs/4197657 to your computer and use it in GitHub Desktop.
Save SecurityForUs/4197657 to your computer and use it in GitHub Desktop.
# Bytes -> $
>>> (23592348 / 21474836.0) * 100
109.86043385849374
# $ -> bytes
>>> (109 / 100.0) * 21474836
23407571.240000002
>>> (109.86043385849374 / 100.0) * 21474836
23592348.0
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment