Solved

Decimal Datatype Size limit

Posted on 2016-10-05
3
19 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)
ID: 41829744
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
ID: 41830531
Just to add that the above is true for any application, desktop, web, etc.
1
 
LVL 44

Expert Comment

by:AndyAinscow
ID: 41856712
That is what it is
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

856 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