Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Decimal data type in visual studio 2008

Decimal data type in visual studio 2008

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpc++visual-studioworkspace
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    b rad311
    wrote on last edited by
    #1

    Hi everyone, I need a base-10 data type, and was wondering if there is one for the environment that I'm using. I'm using C++ in Visual Studio 2008 (Standard Edition). I know there is one in vb.net and c#. I've tried ::DECIMAL but it says this is undeclared. Thanks.

    L P 2 Replies Last reply
    0
    • B b rad311

      Hi everyone, I need a base-10 data type, and was wondering if there is one for the environment that I'm using. I'm using C++ in Visual Studio 2008 (Standard Edition). I know there is one in vb.net and c#. I've tried ::DECIMAL but it says this is undeclared. Thanks.

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      :confused: :confused: :confused: either you are referring to C++/CLI, the managed C++ that is running in the .NET Framework, so you can use the decimal type same as in C# and VB.NET; or you are referring to unmanaged C++ and asking in the wrong forum. One and the same Visual Studio can handle all four: C++, C++/CLI, C#, VB.NET (the latter 3 being .NET, the former not).

      Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

      Please use < PRE > tags for code snippets, it preserves indentation, and improves readability.

      1 Reply Last reply
      0
      • B b rad311

        Hi everyone, I need a base-10 data type, and was wondering if there is one for the environment that I'm using. I'm using C++ in Visual Studio 2008 (Standard Edition). I know there is one in vb.net and c#. I've tried ::DECIMAL but it says this is undeclared. Thanks.

        P Offline
        P Offline
        PIEBALDconsult
        wrote on last edited by
        #3

        b-rad311 wrote:

        a base-10 data type

        A what? Are you thinking of BCD[^]?

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups