What is difference between float and decimal?
Answer / Matendra Singh Manu
The main difference between float and decimal in C# lies in their precision and range of values they can represent. Float uses single-precision floating-point representation (approximately 7 digits of precision), while Decimal uses a 128-bit signed integer that provides higher precision (up to 28 - 29 significant decimal digits).
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a cshtml file?
Explain inheritance in c#?
What is the delegates in c#?
Explain how to use an extender provider in the project.
How to implement a singleton design pattern in c#?
What are immutable types in c#?
Explain namespaces in c#.
Explain the difference between access specifier and access modifier in c#?
What does executescalar return in c#?
Why do we need constructor?
What are sessions in c#?
What does using system mean in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)