Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
testing a number's quare root is an integer and casting to a value?
#4
Just don't ever get caught by variable type precision limits...

num = 5542534534534534534534532453453454534534.5 ' Number too big for variable type.
Print InStr(Str$(num), ".") ' Fails.
If num = Int(num) Then Print "Integer" 'Fails

Pete
Reply


Messages In This Thread
RE: testing a number's quare root is an integer and casting to a value? - by Pete - 01-27-2025, 09:15 PM



Users browsing this thread: 1 Guest(s)