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

regarding 1.7

i experts,

in the variable mydecimal which is of type p

i m sroring the value 1.7 in this now i have to transfer

only 1 to some variable which is of char type ,but it is

only transferring * ,plz help me to solve this,

i need to transfer only 1.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Sep 22, 2008 at 11:48 AM

    hi,

    pls. have a look at the following sample:

    DATA : p TYPE p DECIMALS 3 VALUE '1.5'.
    DATA : c(10) TYPE c.
    
    c = FLOOR( p ).

    hope this helps

    ec

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 22, 2008 at 11:47 AM

    Fm Round?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2008 at 11:51 AM

    Hi,

    Please go through the [SAP Help on Conversion Rules for Elementary data types|http://help.sap.com/saphelp_47x200/helpdata/EN/fc/eb3434358411d1829f0000e829fbfe/frameset.htm]

    Regards,

    Swapna.

    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.