A Filipino Developers Community
All Tags » techie » C# (RSS)

Browse Blog Posts by Tags

Showing related tags and posts for the Blogs application. See all tags in the site
  • Decimal data type for financial applications

    My current project uses a double data type for its values and i have raised a suggestion to convert it to decimal data type instead. I remember that it is recommended to use decimal over double for financial applications because decimal data types have greater significant digits compared to floating...
    Posted to jokiz by jokiz on 09-06-2006
    Filed under: Filed under: , , ,
  • Use standard format characters in string formatting

    Whenever you want to format a currency, date, etc. for your application, try to avoid hardcoding your custom format's in your BoundColumn's DataFormatString, ToString format parameter, etc. More often that not, you'd want those formats to be the same application-wide so, try to configure a custom CultureInfo...
    Posted to jokiz by jokiz on 09-06-2006
    Filed under: Filed under: , , ,
  • Assignment in a WHILE condition

    Before, I used to think that in C, the assignment operator always evaluate to true. It is because of this context: [code language="C#"] while (intLeft == intRight) { //do whatever } [/code] If you mistyped the comparison operator (==) as a single equal sign (=) for assignment (of course it will compile...
    Posted to jokiz by jokiz on 01-17-2005
    Filed under: Filed under: , , ,
Page 1 of 1 (3 items)
Copyright DevPinoy 2005-2008