Skip to content

Commit 56418db

Browse files
committed
Phone numbers may be longer than int
1 parent b0b598d commit 56418db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Console/ConsoleOption.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public ConsoleOption() =>
1515

1616
public OutputFormat? Format { get; private set; }
1717

18-
public int? Number { get; private set; }
18+
public long? Number { get; private set; }
1919

20-
static int ParseNumber(string value) => int.Parse([.. value.Where(char.IsDigit)]);
20+
static long ParseNumber(string value) => long.Parse([.. value.Where(char.IsDigit)]);
2121
}

0 commit comments

Comments
 (0)