C#C
C#3y ago
Down

❔ error when converting string to long

System.FormatException: Input string was not in a correct format.


you can see on image from what im trying to convert
public string ChangePercent24Hr { get; set; }
public long ChangePercent24HrD => long.Parse(ChangePercent24Hr);
image.png
Was this page helpful?