© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#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# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

C# Environment variable
C#CC# / help
2y ago
Modernizing double loops in C#?
C#CC# / help
2y ago
❔ c# access variable from other thread
C#CC# / help
3y ago