vb.net - Is it possible to convert vb6 "Val()" to c#? -
i converting vb , vb.net c# have issue. not use visualbasic dlls in converted code , have been doing fine far.
but code
dim x double 'this error saying integer x = val("1 23 45 x 6") ''#x 12345 x = val("1..23") ''#x 1.23 x = val("1 1,,,,,2,2..3") ''#x 1122.3
does not work same vb6 using "val" visualbasic.conversion.dll there has solved work same? c# solution best.
check out site: http://www.dreamincode.net/forums/topic/36064-val-replacement/ others give example how implement own val() function.
Comments
Post a Comment