Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2014
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. case (tot>10 && tot<110):
  2. $total.html(tot);
  3. $risk.html('小');
  4. break;
  5.  
  6. case (tot>110 && tot<310):
  7. $total.html(tot);
  8. $risk.html('大');
  9.  
  10. switch (true) {
  11. case (tot>10 && tot<110):
  12. $total.html(tot);
  13. $risk.html('小');
  14. break;
  15. case (tot>110 && tot<310):
  16. $total.html(tot);
  17. $risk.html('大');
  18. break;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement