kellyethridge / VBCorLib

The VBCorLib framework brings many of the powerful .NET classes to VB6.
http://www.kellyethridge.com/vbcorlib/
MIT License
112 stars 28 forks source link

BigInteger.ToString("x") removing needed last character representing negative value #84

Closed kellyethridge closed 3 years ago

kellyethridge commented 3 years ago

When using BigInteger.ToString with x format specifier, the parsed value F14237FFAAC086455192 should be returned. However, the leading f is missing.

Set Number = BigInteger.Parse("&hF14237FFAAC086455192")
Debug.Print Number.ToString("x")

This should produce f14237ffaac086455192 but produces 14237ffaac086455192.