© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
3y ago
•
5 replies
TechDek
❔ C# double variable
Hey I
'm currently learning the basics of C
# and I was wondering if
"doubles
" need to have a decimal number or if they just can have a decimal number
? For example
, does it have to be a number like 3
.242 or can it just be 3
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
C# Environment variable
C
C# / help
2y ago
Modernizing double loops in C#?
C
C# / help
2y ago
❔ c# access variable from other thread
C
C# / help
3y ago