2

Can anyone please help tell me why below expression in immediate box shows the result as True?

? IsNumeric("1d11")

? IsNumeric("5000d110")

Thank you. Lei

2
  • 2
    These numbers are both valid hexadecimal numbers. Use If VarType(Evaluate("5000d110")) = vbDouble to check whether a string is a valid base 10 number. Commented Oct 8, 2017 at 18:25
  • Thank you Florent, this make perfect sense and solution. :) Commented Oct 8, 2017 at 19:28

1 Answer 1

2

Both of these values are valid hexadecimal numeric values. That is why the result is true.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.