Skip to Content
author's profile photo Former Member
Former Member

Reg : CHAR to FLTP conversion

Hi All,

I want to convert char value '55.5' to floating point value.

I tried using the below function modules. These two function modules does not accept the decimals .

CHAR_FLTP_CONVERSION

CHAR_FLTP_CONVERSION_TO_SI

can any one suggest how can i convert the decimal char values ('55.55') to floating point values.

thanks

Vijay

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2008 at 06:58 PM

    hi

    data:pack type p deimals 2.

    first pass char value to pack and then from pack pass it to floting point variable.

    Regards

    Neha

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 21, 2008 at 08:27 PM

    Try these:

    CHAR_FLTP_CONVERSION_TO_SI

    CHAR_FLTP_CONV_TO_SI_RFC

    FLTP_CHAR_CONVERSION_FROM_SI

    FLTP_CHAR_CONV_FROM_SI_RFC

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 20, 2011 at 10:33 AM

    Answered

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.