cast.ToInt("08") returned 0
zangsilu opened this issue · comments
zangsilu commented
yveshield commented
The string "08" is not a decimal number, decimal numbers do not have the prefix "0", nor is it an octal number, octal numbers are only 0-7, nor is it a hexadecimal number, the hexadecimal prefix is "0x ". I don't think this is a problem with the library, I think it's important to be aware of this limitation before using the library and avoid it in advance.