C
C#7mo ago
daeodon

console.readline and float

when i enter 4.5 it says value is 45 why does it do that? shouldn't is say 4.5
No description
2 Replies
reflectronic
reflectronic7mo ago
it is probably because your computer's culture is set to one where . is a thousands separator if you type 4,5 (?) it might do what you are expecting
daeodon
daeodonOP7mo ago
yeah 4,5 works bruh thanks so much
Want results from more Discord servers?
Add your server