Results 1 to 4 of 4

Thread: Does this make sense to you?

  1. #1

    Thread Starter
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913

    Does this make sense to you?

    While I was at VBits, they mentioned about the Currency data type being removed and to use double. What was weird was that the double is better because you get more precision with more decimal places..Now here is the question. Who here has ever had 1 dollar and .99564433 cents?

    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Is it for some kind of global usage where maybe other countries would run into situations somewhat like that? It does seem like a bit of over kill.

  3. #3

    Thread Starter
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    Something that just crossed my mind. Gas prices. Gas in the Us is priced with an extra 9/10th of a cent.

    1.099
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  4. #4
    Hyperactive Member
    Join Date
    Dec 2001
    Location
    Dublin, Ireland
    Posts
    262
    I designed a system for metered water billing. You get the unit charges being 3/4 decimal places which when multiplied with the reading can give values that you need calculated accurately.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width