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
Indunil Sanjeewa AmarasingheTrainee Software EngineerAsked:
Who is Participating?
AndyAinscowConnect With a Mentor Freelance 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))
Just to add that the above is true for any application, desktop, web, etc.
AndyAinscowFreelance programmer / ConsultantCommented:
That is what it is
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.

All Courses

From novice to tech pro — start learning today.