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. C#
  4. IBM "Packed Decimal" To .NET "String" Conversion

IBM "Packed Decimal" To .NET "String" Conversion

Scheduled Pinned Locked Moved C#
csharpquestion
4 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.
  • S Offline
    S Offline
    Shahin77
    wrote on last edited by
    #1

    Hi, Is there any function to convert String/Number to "Packed Decimal" and vice versa? Thank you.:confused:

    S 1 Reply Last reply
    0
    • S Shahin77

      Hi, Is there any function to convert String/Number to "Packed Decimal" and vice versa? Thank you.:confused:

      S Offline
      S Offline
      Scott Dorman
      wrote on last edited by
      #2

      There isn't anything built in to the Framework that I am aware of. You would need to write your own function to do this. Doing a quick search on Google, here[^] is some VB6 code that might get you started. (I have not tested this code, so I will not make any guarantees to it's correctness.)

      Scott.


      —In just two days, tomorrow will be yesterday. [Forum Guidelines] [Articles] [Blog]

      P 1 Reply Last reply
      0
      • S Scott Dorman

        There isn't anything built in to the Framework that I am aware of. You would need to write your own function to do this. Doing a quick search on Google, here[^] is some VB6 code that might get you started. (I have not tested this code, so I will not make any guarantees to it's correctness.)

        Scott.


        —In just two days, tomorrow will be yesterday. [Forum Guidelines] [Articles] [Blog]

        P Offline
        P Offline
        Pete OHanlon
        wrote on last edited by
        #3

        Scott Dorman wrote:

        Doing a quick search on Google, here[^] is some VB6 code

        Isn't that the development equivalent of the AntiChrist?

        Deja View - the feeling that you've seen this post before.

        S 1 Reply Last reply
        0
        • P Pete OHanlon

          Scott Dorman wrote:

          Doing a quick search on Google, here[^] is some VB6 code

          Isn't that the development equivalent of the AntiChrist?

          Deja View - the feeling that you've seen this post before.

          S Offline
          S Offline
          Scott Dorman
          wrote on last edited by
          #4

          Pete O`Hanlon wrote:

          Isn't that the development equivalent of the AntiChrist?

          :laugh::laugh:

          Scott.


          —In just two days, tomorrow will be yesterday. [Forum Guidelines] [Articles] [Blog]

          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