Created
December 18, 2015 23:37
-
-
Save lolobosse/32598128d30cddf00655 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for(var total=0,i=0;i<$("tbody").children().size();i++){var string=$($("tbody").children()[i]).children()[6].innerHTML,split=string.split(" ");value=parseFloat(split[0])*("MB"==split[1]?1:1e3),total+=value} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment