Conversion from string to long
#3


Same result:

UInt32 i= Convert.ToUInt32("0x0C", 16);
UInt32 j= Convert.ToUInt32("0C", 16);

If your app is a 32 bit application, dont use long because long is a signed Int64 (2 at power of 64), if it is a 64 bit application use ulong, or UInt64.

2

 

 

it works perfectly.

 

thanks again wiza Smile



Messages In This Thread
[No subject] - by soryjero - 07-26-2013, 12:18 PM
[No subject] - by someone - 07-26-2013, 07:12 PM
[No subject] - by soryjero - 07-27-2013, 04:05 AM
[No subject] - by Paramount - 07-28-2013, 03:01 PM
[No subject] - by Johnny5 - 07-28-2013, 03:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)