I am trying to convert one character to decimal and MsgBox me it’s value.
[code]
Dim X As String = “&cP”
Dim X_Result As Integer = Val(X)
MsgBox Str(X_Result)[/code]
Returns 0, am expecting an 80 … I am doing this the wrong way.
This is the table: http://www.asciitable.com/
what is &cP, an incomplete color?
dim d as double = val("123.456")
msgbox str(d)
this parses a number in US format and shows it.
Dim xResult As Integer = ASC§
MsgBox str(xResult)
better:
Dim xResult As Integer = ASC("P")
MsgBox str(xResult)
Very Funny Chris
I was trying to figure it out by myself by searching the manual and this forum for similar solutions like Hex to Dec or something and possibly came up with that mixed “thing”
Thanks for both of you 