$array = '0','1','2','3','4','5' $x = 51 If $x < 6 $test = $array[$x] Else $test = $array[$x mod 10] Endif
$array = '0','1','2','3','4','5' $x = 51 $test = IIf($x < 6, $array[$x], $array[$x mod 10])
Generated in 0.056 seconds in which 0.024 seconds were spent on a total of 14 queries. Zlib compression enabled.