i try to user switch (range of number) but it seems not work? can you help me check it where is the problem?
case (tot>10 && tot<110):
$total.html(tot);
$risk.html('小');
break;
case (tot>110 && tot<310):
$total.html(tot);
$risk.html('大');