Search
Get Started
C
C#
•
2y ago
vmritm
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
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,010
Members
View on Discord
Was this page helpful?
Yes
No
R
reflectronic
•
6/9/24, 12:26 AM
it is probably because your computer
's culture is set to one where
is a thousands separator
R
reflectronic
•
6/9/24, 12:27 AM
if you type
(
?
) it might do what you are expecting
V
vmritm
OP
•
6/9/24, 12:27 AM
yeah 4
,5 works
V
vmritm
OP
•
6/9/24, 12:27 AM
bruh thanks so much
.
.
4,5
4,5