• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 64
  • Last Modified:

Decimal Datatype Size limit

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
Indunil Sanjeewa Amarasinghe
Asked:
Indunil Sanjeewa Amarasinghe
  • 2
1 Solution
 
AndyAinscowFreelance programmer / ConsultantCommented:
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
 
anarki_jimbelCommented:
Just to add that the above is true for any application, desktop, web, etc.
1
 
AndyAinscowFreelance programmer / ConsultantCommented:
That is what it is
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now