User Profile

Collapse

Profile Sidebar

Collapse
Smith Ward
Smith Ward
Banned
Last Activity: Jul 1 '11, 10:45 AM
Joined: Jun 14 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Hi,

    The data type to use can be decimal or double depending upon the range and precision of data to store. double will enable you to store larger range of data. Moreover the precision will also be better. The typical synatx that you can use is as follows:

    double amount=12.23232 32;
    label1.Text= amount;

    More details for the same can be found at the below link:

    Hope this solve your problem..
    See more | Go to post
    Last edited by Niheel; Jun 19 '11, 04:07 PM.

    Leave a comment:


  • What data type would be best for storing the money formatb of data in C#?

    Hi,

    I am working on a website which is supposed to deal with users bank transactions. As it is going to deal with money on a higher scale. I want to know what will be the best fit data type for storing the money values in C# language such that the maximum memory utilization and performance can be get.

    Thanks,

    Dev
    See more | Go to post
No activity results to display
Show More
Working...