mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-24 04:53:08 +00:00
Simple Refactor
Simple :)
This commit is contained in:
parent
677ec99256
commit
be63fe7b7f
1 changed files with 2 additions and 2 deletions
|
@ -184,11 +184,11 @@ namespace PKHeX
|
|||
// Data Retrieval
|
||||
internal static int ToInt32(string value)
|
||||
{
|
||||
return string.IsNullOrWhiteSpace(value) ? 0 : int.Parse(value.Trim(new char[2] { ' ', '_' }));
|
||||
return string.IsNullOrWhiteSpace(value) ? 0 : int.Parse(value.Trim(' ', '_'));
|
||||
}
|
||||
internal static uint ToUInt32(string value)
|
||||
{
|
||||
return string.IsNullOrWhiteSpace(value) ? 0 : uint.Parse(value.Trim(new char[2] { ' ', '_' }));
|
||||
return string.IsNullOrWhiteSpace(value) ? 0 : uint.Parse(value.Trim(' ', '_'));
|
||||
}
|
||||
internal static uint getHEXval(string s)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue