Trying to convert a hexadecimal value to a decimal value. I am able to do this conversion using the “format(“%d”, )”. That works IF it’s a number, but unfortunately the value is obtained from the SUT & eggPlant interprets as text. Trying to explicitly convert the obtained text prior to calling format yields errors too [eg. asNumber()].
This works:
Set decValue = format(“%d”, 0x000006A9)
This errors “is not a number:”
Set decValue = format(“%d”, eggPlant function to obtain value from SUT)
Any thoughts on best way to do this without writing a hex to dec converter?
Thanks!