What you are calling "scale" is the aspect ratio of the device screen, and you seem to be wanting to check if this is above a certain value. Why are you not using something like the following code . . .
Dim aspectRatio As Float = GetDeviceLayoutValues.Height / GetDeviceLayoutValues.Width
If (aspectRatio > 1.78) Then
End If
Your approach seems to be horrendously complicated and full of risk - checking a truncated floating point number for precise equality is not good practice.