About decimal point

hi,expert!
in the cube ,i find the data is 0.5,but it display as 1.0 in my query,who can help me ?
thanks!

the problem is resolved.i set the measure's "Decimal pl. rounding " as 3, former is space.

Similar Messages

  • Query about decimal point field in mapping

    hi,
    In interface one field is supposed , Both dollars and cents will be formatted with an implied decimal point before the last  two digits in the data. 
    for exm : input is -620.27. then output should be -000062027. Maximum length of the field is 10.
    if input is 44.44.then output should be 0000004444.
    In this way.
    Name of the field is Pay_Amount.
    how do i get this mapping?
    Regards,
    Sanghamitra

    Use the replace string function to replace decimal point with null. Then pass the value to a udf.
    Write a udf (value cached) and pass the input a= value from Pay_Amount and b - required length of field (10)
    public String AddLeading(String a,String b,Container container){
    String temp = new String(String.valueOf(Integer.parseInt(a)));
    int temp1 = Integer.parseInt(b);
    for(int i = 0; (temp1 - a.length()) > i ; i++)
    temp = "0" + temp;
    return(temp);

  • Dynamic displaying of decimal points for currency field in ALV

    Hi,
            In ALV output there is a currency field and displaying data of different countries. It should display decimal point according to the country's currency. But at a time it can display data of different countries.

    Hi Dilip,
    I think your question is about currencies with different number of digits after decimal point. If you have the currency field in the ALV row, you have to give it's name as currency reference for the value field in the field catalog.
    After creating the field catalog, call a form and do something like this (change fielnames accordingly).
    <pre>
    *&      Form  alv_fieldcat_enhance
          Individual Enrichment of field catalog
    FORM alv_fieldcat_enhance
      CHANGING pt_alv_fieldcat TYPE slis_t_fieldcat_alv.
      FIELD-SYMBOLS:
        <alv_fieldcat> TYPE slis_fieldcat_alv.
      LOOP AT pt_alv_fieldcat ASSIGNING <alv_fieldcat>.
        IF <alv_fieldcat>-fieldname(5) = 'KBETR' OR
           <alv_fieldcat>-fieldname(5) = 'SKBTR' OR
           <alv_fieldcat>-fieldname(5) = 'DMBTR'.
    Company code currency
          <alv_fieldcat>-cfieldname = 'BWAER'.
    Document Currency for conditions, net value and taxes
        ELSEIF  <alv_fieldcat>-fieldname(5) = 'KWERT' OR
                <alv_fieldcat>-fieldname    = 'NETWR' OR
                <alv_fieldcat>-fieldname    = 'NPAX_MWST_AMNT'.
    Document Currency
          <alv_fieldcat>-cfieldname = 'WAERK'.
        ENDIF." <alv_fieldcat>-fieldname(5) = 'KBETR' or
      ENDLOOP." at pt_alv_fieldcat assigning <fieldcat_alv>.
    ENDFORM.                    " alv_fieldcat_enhance
    </pre>
    Regards,
    Clemens

  • How to remove the decimal points at the end of the value????

    hi,
    we are using crystal reports 9.0. we have some reports which contains group by field.  we have one field like address. if we select group by as address "The data is displayed grouped by the Address. But the address is shown in decimal points". for example if we have 55 as address field value, it shows 55.00. 
    the formula has written like as follows
    if lowercase({?GroupBy}) = 'Address' then totext({rsp_GetDevMicro.Address})
    now, i want to remove zeros which comes along with address field values.
    can anyone help me in this?

    Not sure about Crystal 9 but on 11 I would convert it to a number to remove the leading zeroes then back to text again which allows you to remove the decimal point and any thousand seperators, ie:
    CStr(ToNumber(),0,"")

  • How to delete trailing zeros after the decimal point in the ALV sum

    Hello Expert,
    In my alv output, I need to sum up one column, but in the sum result, I don't want to display zeros after the decimal point.
    for example,
    If the sum is 134.00, I only want to display 134 on the alv.
    Does any expert have idea about it?
    Thanks in advance,
    best regards, Johnny

    Hi ,
    Use following
    SHIFT variable RIGHT/LEFT DELETING TRAILING '0'.
    For more variations ,
    just write SHIFT and press f4 , it will show you the information you need.
    Hope this is helpful,
    Regards,
    Uma Dave

  • 2 Decimal Points for Indonesian Rupiah Currency

    Dear All,
    I would like to assign 2 decimal points to Indonesian Rupiah Curreny - IDR by accessing OY04.
    However, there is no input value for 2 decimal points.
    For accounting purpose, we would like to record business transactions up to 2 decimal points.
    Kindly advise.
    Appreciate it!

    Hi wishy washy,
    even I had various real painfull experiences with clients who changed the decimals..... Still having nightmares about this....
    Please be hypercarefull with that what you are doing. Has IDR really 2 decimals? As far as I can see IDR has in Standard (In my SAP-testsystem) no decimals.
    What happens if you change the decimals? Please note, SAP stores values always without decimals.
    Example: 100,00 Euros are stored as 10000 in bseg-wrbtr.
    Euro has 2 decimals.
    If you change the decimals to 0 the amount changes to 10000 Euros.
    Example: 100 IDR are stored as 100 in bseg wrbtr.
    IDR has no decimals
    If you change the decimals to 2 the amount changes to 1,00 IDR.
    Please consider: automatic taxcalculation, Data carriers, reporting, open item clearing, budgeting, depreciation, and hundreds of other issues.
    The several warnings of OY04 have a reason... and I don't want you to have my nightmares.
    Best regards
       Horst

  • Extending decimal points on timestamp for write to measuremen​t file .vi

    Hello Everyone
    Currently I am collecting a bunch of Fieldpoint Channels in LabVIEW (about 190) which is a lot of instrumentation. Right now we want to be sure the computer can keep up and read all of the channels every second. To test this theory I want to use the WTMF to get a timestamp for every channel (seems to be the easiest way).
    While reading the file I get like 5.68 so two decimal places. I was wondering if there was a way to get a more accurate time reading down to the millisecond. I know this is three places after the decimal point, but I was hoping I could extend this to 5-6 places past the decimal point.
    Usually when saving data I use the write to spreadsheet with one time column and can just format the readings through that, but for some reason I cannot figure this out with the WTMF
    If there is any input to check these time differences besides doing the above, that would also be appreciated.
    Any input would be amazing.
    Thanks so much
    Tanya

    Hi vaib,
    as i said already here, http://forums.ni.com/ni/board/message?board.id=170​&view=by_date_ascending&message.id=332115#M332115 i think you can´t stop the writing process. If you start them, then you have to wait til the vi is ready. To measure the time you can use the "Tick count" function. See the attached picture.
    Mike
    Message Edited by MikeS81 on 06-17-2008 03:34 PM
    Attachments:
    Unbenannt1.PNG ‏12 KB

  • Automatic insertion of decimal point

    How do you make numbers automatically insert a decimal point? I want to input 12356 and I want it to appear in the cell as 123.56. In other words I want numbers to insert a decimal point in front of the last two digits I input. Having to input the decimal point myself really slows me down.
    to insert a decimal point

    Hi Jerry
    The fixed decimal point feature is available in Excel 2002 and is found under:
    Tools > options > edit tab
    about half way down click box next to fixed decimal point and you can also specify the number of decimal points.
    This fixed decimal point feature is then global for all sheets.
    In Excel 2007 click office button top left of screen
    in bottom right of drop down menu is a box named Excel options- click this
    then choose Advanced which is 5th option on LHS of menu and click second box in the menu next to Automatically insert a decimal point. You can again specify the number of points excel uses.
    I think this fixed decimal point feature must exist in Office 2004 as it appears in Excel 2002 and 2007.
    Hope this helps you. You don't miss it on a desktop keyboard where there is a numeric keypad but on a laptop it is a real pain to have to input the point on every entry.
    GG

  • Lost decimal point after export to text file

    Dear All,
    I have problem which to beset me long long time. I haven't dug the cause yet. Actually, I have a program which will generate a text file in background everyday. The text file included po data which is create last day, such as po no, item, unit price etc. But sometimes, not every times, one of item data's unit price will lost the decimal point in the text file, for example, the po unit price is 18.80 stored in database. but the outcome is 1880 in the text file. Do you have encountered such kind of problem? Thanks!

    Hi
    sorry cant get you..
    need some more explanation
    can you send me the code
    Regards
    V.Balaji

  • Decimal point  for Price value in  ALV Report

    HI,
    I have created ALV report,
    I have 2 price fields in ALV report
    For first field i have to display  in the below format.
    If the value of the field is 3601152 then I have to display it as 36011.52 
    For second field I have to display in the below format
    if the  value is 2494 then I have to display it as 2495.00
    else if the value is 3498.73,then I need not to do anything.
    that means If there is no decimal point, then I have to keep decimal point.
    Thanks&Regards
    RamaDevi

    HI,
    you can work with search and concatenate.
    value1 = 3601152
    search value1 for '.' .
    if sy-subrc eq 0.
      concatenate value1(5) '.' value1(2)+5 into text.
    Or value1 = value1 / 100.
    endif.
    Regards
    Nicole

  • How to delete decimal point and adding leading zeros....

    Hi,
    I have one requirement in the report   i.e.
            <b>Present Value    :</b>  44567.98
            <b>Expected Value  :</b> 0000004456798
    In the present Value how will I remove that decimal point and how to add those six ing zeros. I tried with CONVERSION_EXIT....but it is not giving. Help me...
    Thanks in advance.
    Regards,
    Kumar.

    Hi,
    Use SPLIT and COMCATENATE fnctions.
    Eg:  split l_v at '.' into l_v1 l_v2
            concatenate l_v1 l_v2 into l_v.
    For adding leading zeros
    Use FM CONVERSION_EXIT_ALPHA_INPUT.
    Eg:
    data: tknum type vttk-tknum value '99156'.
    call function 'CONVERSION_EXIT_ALPHA_INPUT'
         exporting
              input  = tknum
         importing
              output = tknum.
    Sri
    Message was edited by:
            Sri Tayi

  • Purchase price to have 4 digits after decimal point

    Hi Friends,
    Would you please help me out with this issue?
    The purchase price needs to have 4 digits after the decimal point, because the product/component would be packed and sold in other unit, which may give huge value difference.
    The price can be set for the product/component per 100, but is there any setting in SAP Reference IMG?
    Thanks for your help.
    Regards,
    JT

    Hi,
    In material Master (MM01) which unit you maintain for that material. Go to MM02 and keep Base Unit of Measure as storing unit as earlier and maintain Sales unit (unit of measure in which the material is sold) or Order Unit (Specifies the unit of measure in which the material is ordered) in the Purchase Order according to your requirement and Enter the factor for converting the alternative unit to the base unit. In your case product/component would be packed in a Different unit.
    OR
    In your case product/component would be packed in a Different unit.
    Maintain the (BOM) Bill of Material for the finished product you are selling and its component.Create Finished Product as material type as FERT and Components as material type as HALB or ROH.
    Now try your transaction with Finished Product only and sale.
    Hope the above  will help.
    Regards,
    Biju K

  • Rounding off during APP (f110) of decimal point

    Hi
    Can any one help me? When I run the T.Code f110 for automatic payment programme is generate cheque propaly, here my client want to rounding off for the decimal point in cheque amount as if coin adjastment.

    Hello Arup,
    I guess OB90 is helpful to you so pls check the same.
    Thanks & Regards,
    Lakshmi S

  • Convert the money datatype to a 2 decimal point format.

    Whats the best way to convert the money datatype to a 2 decimal point format in ms sql 2005 for use in my applications.
    this?
    CAST(tr.depositReceivedAmount AS decimal(10 , 2))

    I respectfully disagree with the notion that you should change the SQL column from a 'money' data-type to something else.
    In most database servers, 'money' is a data type that is designed to provide very consistent behavior with regard to arithmetic accuracy.  In Microsoft Access, the representation is a scaled-integer.  In MS SQL Server, it is obviously similar.  Ditto Oracle and all the others.
    You want the money data-type in the database to have this accuracy, because "hell hath no fury like an accountant in search of one lousy penny."   The database column storage-formats are designed to satisfy accountants, and that is a Good Thing.
    Meanwhile, you also want to take care as to exactly how you deal with the values.  There are several points where rounding could take place.  You do not have at your disposal the strongest possible handling of floating data-types in ColdFusion.  You are also somewhat at the mercy of whatever interface software may lie between you and whatever SQL server you may use.  "It's okay to round values once, but not multiple times."
    I suggest rounding the value right before display, and stipulating that the user's input must be two decimal places.
    Then, you might have to do some things at the SQL server's end.  For instance, when you update a value in the table, you may need to use server-side logic to explicitly truncate the value to two decimal-points, so that an update of "$34.56" explicitly updates the column to "$34.5600."  (This sort of thing has to happen within the SQL server context.)  You know that the user's input has exactly two significant digits, but maybe (maybe not...!) the SQL server might not know this.  You want to ensure that the server's internally-stored value represents exactly two significant digits, when the value originates from a user-input.
    Don't err on the side of "your convenience" or "what looks good on-screen."  (If you do, get ready to get phone-calls from the accountants, always at inopportune hours of the night.)

  • OBIEE 11.1.1.6 - Requirement is to show 3 digits after the decimal point.

    Hi,
    I have a requirement to concat 2 columns ( 1st column is a text column and 2nd column is a numeric column set as double in RPD). For the 2nd column, user wants to see 3 decimal digits all the time.
    For example, if the value is 2.4567 then I need to show round off value 2.457 and if the value if 3.4 , then I need to show 3.400 and if the value is 4 then I need add decimal point and show 4.000.
    Please let me know how I can achieve using OBIEE application without having to go through RPD.
    Thanks
    Swarna
    Edited by: 934460 on May 15, 2012 12:48 PM

    Try the following:
    In this example:
    Column 1: Month Name
    Column 2: Revenue
    Column 3: Month - Revenue
    Formula for Month - Revenue column will be:
    Month Name ||' - '|| cast(round(Revenue, 3) as char)Hope it helps.
    Regards,
    Kalyan Chukkapalli
    http://123obi.com

Maybe you are looking for

  • How to generate a PDF view in flex?

    The text should be selectable and the selected text should span across multiple pages. There will be a page break between two pages, when selected and dragged on the text n the first page, the selection should carry to the second page as well.

  • Subcontract GR posting

    Hi Gurus. I am trying to post GR for a subcontract PO using the BAPI_GOODSMVT_CREATE Function module. While posting the GR, I am getting an error "Of the required quantity of material 'xxxxxx'(sub component material number) , 1.000 PCE remain(open).

  • Trouble multicasting from server

    Hi all, I'm trying to get multicasting to work, but I have trouble when I try to run it from the server, both using the manual method (console commands) and when using ZCC. I first thought it was a firewall issue or something, since the server is on

  • Report in idm which lists the system ip' frm where Application is accessed

    Hi All, Can any one get me the name of the report which list the ip's of the system from where the idm Application is accessed. Thanks in Advance

  • How to make crop box uniform size?

    Hi everyone, I set the crop height, width and resolution in the top bar. However, when I start to drag the crop boundiing box, it still let me do any size(although in proportion). I know it will crop the image to the size I specifed. But can I have a