Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case (tot>10 && tot<110):
- $total.html(tot);
- $risk.html('小');
- break;
- case (tot>110 && tot<310):
- $total.html(tot);
- $risk.html('大');
- switch (true) {
- case (tot>10 && tot<110):
- $total.html(tot);
- $risk.html('小');
- break;
- case (tot>110 && tot<310):
- $total.html(tot);
- $risk.html('大');
- break;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement