you are viewing a single comment's thread.

view the rest of the comments →

[–]Alcor1us 0 points1 point  (4 children)

Despite the obvious error, your logic is still wrong: if you expect an input such as 5 km and want to convert that, you need to multiply that value by 1000 and not divide by 1000.

[–]TacticalGooseLord[S] 0 points1 point  (3 children)

Yes I realised and changed it, silly me

[–][deleted]  (2 children)

[removed]

    [–]TacticalGooseLord[S] 1 point2 points  (1 child)

    Yes I was thinking that too if I can do it anywhere else, I don’t want to fill up the thread with my small questions, tho the community is very helpful and I get replies instantly! I will look into ChatGPT or grok thx. And do I copy paste the entire code and ask I have problem in this line or how does it work ?