Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 736627
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T07:37:36+00:00 2026-05-14T07:37:36+00:00

I work on a data intensive module. I have a datacolumn inside a dataset

  • 0

I work on a data intensive module.
I have a datacolumn inside a dataset which is bound to a grid.
The set datacolumn property is as follows :

Datatype     : System.Decimal
MaxLength    : -1
DefaultValue : 0

With this properties i expect whenever i enter a number viz. 11001100011
to be saved as 11001100011.00

However internally this is being saved as 11001100000.00 !!!

Any ideas / inputs on correct usage of the system.decimal datatype ??

Regards
Srivatsa

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T07:37:36+00:00Added an answer on May 14, 2026 at 7:37 am

    I can see 2 different problems, but your question is a little bit too unspecific to really get. (Some code to test would be nice)

    1. Decimal is not an ideal storage container. Just like floats and doubles it has a limited range of good values and accuracy. It just happens to be bigger.

    2. Just because something is of type Decimal, does not imply that the gui control that deals with it know how to handle such large numbers. It may convert to float first and then put it in the decimal.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Data intensive problem which requires a lot of massaging and data
I am writing a data-intensive application. I have the following tests. They work, but
In order to work with decimal data types, I have to do this with
I am planning to work in TRIE data structure for which I need a
How is data binding in C# WinForms supposed to work when you have a
I currently work in the position of Data Warehouse programmer and as such have
I have a program that needs to retrieve some data about a set of
If you have a CPU-intensive problem like data mining, do you need to break
My somewhat data-intensive wp7 app persists data as follows: I maintain a change journal
I work with data that comes from multiple sources that I have no control

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.