Commit 06b33699 by 马黎滨

采集热度换算

parent 81c4ce5c
...@@ -71,7 +71,7 @@ public class TipsUtils { ...@@ -71,7 +71,7 @@ public class TipsUtils {
count = (int)(Double.parseDouble(hotCountString)*10000); count = (int)(Double.parseDouble(hotCountString)*10000);
}else if(hotCountString.contains("亿")){ }else if(hotCountString.contains("亿")){
hotCountString = hotCountString.replaceAll("亿.*", "").trim(); hotCountString = hotCountString.replaceAll("亿.*", "").trim();
count = (int)(Double.parseDouble(hotCountString)*10000000); count = (int)(Double.parseDouble(hotCountString)*100000000);
}else{ }else{
count = (int)(Double.parseDouble(hotCountString)); count = (int)(Double.parseDouble(hotCountString));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment