try this :
Dim FirstValue As Int = 1
Dim LastValue As Int = 100
Dim Ratio As Float = (MaxAngle - MinAngle) / (LastValue - FirstValue)
myvalue = Round((Angle - MinAngle) / Ratio + FirstValue)
this code gives u values from 1 (angle = -135degree) to 100(angle = 135 degree)
now u will add some indicators to see how much "100" was hit and u add +1. hope it helps u.