Solved

Decimal Datatype Size limit

Posted on 2016-10-05
3
15 Views
Last Modified: 2016-10-24
Dear Sir/Madam,

Please be kind enough to provide me with the maximum length allowable for a decimal data type that C# allows in a desktop application.

Any help would be greatly appreciated.

Kind Regards,
Indunil Sanjeewa
0
Comment
  • 2
3 Comments
 
LVL 44

Accepted Solution

by:
AndyAinscow earned 500 total points (awarded by participants)
Comment Utility
It is 128 bit which according to the documentation is
(-7.9 x 10^28 to 7.9 x 10^28) / (10^(0 to 28))

https://msdn.microsoft.com/en-us/library/364x0z75.aspx
1
 
LVL 29

Expert Comment

by:anarki_jimbel
Comment Utility
Just to add that the above is true for any application, desktop, web, etc.
1
 
LVL 44

Expert Comment

by:AndyAinscow
Comment Utility
That is what it is
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This video discusses moving either the default database or any database to a new volume.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now