Try
let rangeValue = Array(30 ... 400)
rangeValue[7]
0
solved How to get range index value from given number [closed]
Try
let rangeValue = Array(30 ... 400)
rangeValue[7]
0
solved How to get range index value from given number [closed]