Joined: 25 Nov 2007 Posts: 3 Location: chennai, india
Hi,
How can i convert a character string to its equivalent DECFLOAT format? I need to do this in assembler or C. There is example in DB2 Administration guide as shown below
Internal Format : D8F77D00000000000C
DFP Format : 222C000000001E80
String Representation : +7.500
But how this is done is not given. I need to convert string representation to internal format representaion.