Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Her ændre vi kommaet til et punktum, fordi alt er engelsk bruges komma og punktum omvendt
- if (float.TryParse(Input, out Bølgelængde))
- {
- if (Input.Contains(","))
- {
- Input = Input.Replace(",", ".");
- }
- Fart = float.Parse(Input);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement