• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 514
  • Last Modified:

Convert int, double to iDB2Numeric

I need to convert an int and a double value to iDB2Numeric to be used in the call to the stored procedure in iDB2.

Does anyone know how to do this?  I'm using C#
1 Solution
This site explains the conversion of DB2 types to C, they should be similar to c#.
Once you find out how many bytes a DB2 Numeric value is you can then find out how many bytes an int or decimal uses by using
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now