Legend display and decimal places

Hi all,
I'm using mapviewer to create thematic maps and the Ranged Bucket Advanced Style (XML below) with whole numbers but when I generate the legend each range has a ".0" on the end of it. Is there a way of turning this off?
<?xml version="1.0" standalone="yes"?>
<non_map_request>
<add_style name="V.POLK THEMATIC" >
<AdvancedStyle>
<BucketStyle>
<Buckets>
<RangedBucket low="57" high="146" style="SCOTT:C.IMQ_1"/>
<RangedBucket low="146" high="307" style="SCOTT:C.IMQ_2"/>
<RangedBucket low="307" high="504" style="SCOTT:C.IMQ_3"/>
<RangedBucket low="504" high="714" style="SCOTT:C.IMQ_4"/>
<RangedBucket low="714" high="1359" style="SCOTT:C.IMQ_5"/>
</Buckets>
</BucketStyle>
</AdvancedStyle>
</add_style>
</non_map_request>
The legend however has these ranges :
57.0 - 146.0
146.0 - 307.0
307.0 - 504.0
504.0 - 714.0
714.0 - 1359.0
Any thoughts anyone? Forgive me if this has been posted before but the forum search doesn't appear to be working right now!
Thanks
Steve

Hi Steve,
at this time there is no way to turn this off.
Joao

Similar Messages

  • How to display 2 decimal places using DecimalFormat?

    Hi, i would like to display an account balance from database using child.getAccountBal(). Before that, i want to use DecimalFormat to display 2 decimal places. I would like to know whether the codes below are correct. Can anybody guide me? Thanks.
    public static double roundTo2DecimalPlaces(double value){
              DecimalFormat df = new DecimalFormat("0.##");
              double d = df.format(value);
              System.out.println(d);
              return value;          
    And inside the jsp page...is that how i call the values?
    Account Balance: <%=roundTo2DecimalPlaces(child.getAccountBal())%>

    DecimalFormat's format method returns a String not a double,
    os you must return a String instead of a double.
    public String roundTo2DecimalPlaces(double value)
         DecimalFormat df = new DecimalFormat("0.00");
         String stringValue = df.format(value);
         return stringValue;
    <%= roundTo2DecimalPlaces(child.getAccountBal()) %>

  • Displaying 2 decimal places in BI Answers column, using SQL_TSI_HOUR

    Hi,
    Would anyone know why the following code refuses to display 2 decimal places in a BI answers report:
    ' case when "- Job Detail"."Date Delivered" is null or "- Job Detail"."Date Received" is null then 'Not Available' else cast (ROUND(cast(timestampDiff(SQL_TSI_HOUR, "- Job Detail"."Date Received","- Job Detail"."Date Delivered") as double),2) as char) end '.
    Thanks,
    - Jenny

    instead of * 1440
    do with
    * 1440.00
    btw: why you need to cast to date? why cant be timestamp?
    Discard it

  • Issue with display of decimal places

    Hi,
    In our custom built components we are facing a strange issue with the display decimals  where the data type of an element is "QUAN - Quantity field, points to a unit field with format UNIT".
    If the element has a value of 3000.000 KG the value is displayed as 3000. Where as for an element which has a value 3000.123 KG the same is displayed as it is with the decimals. We tried to resolve the issue by using Text editor or Input field as read only but in vain. The display property in the context are set to default.
    If we change the element data type reference to "Dec - Counter or amount field with Comma and Sign" then all the values are displayed with the decimal places even if decimals are zero.
    As a result we are facing alignment issues for the various quantity related elements displayed on the screen.  To change the underlying data type of the element is a not a solution for us as the data type quan is required for conversion from one unit to another unit.
    Can someone please advise how we could resolve this issue.  We are on NW 7.0 + EHP4 + NW 7.01 SP4, kernel patch level 55 for 7.01
    Regards
    Rohit Chowdhary

    Jameel, Thanks for the answer but this is a not a solution for us. We have around 40-50 webdynpro components and with mutliple views referring to this data element / domain combination. More so the context are bound to database tables / structures . 
    I hope to get a reply from Thomas on possible solution for this. I am not sure if I can open an support ticket for this issue.
    Rohit Chowdhary

  • Need to display without decimal places

    hi
    i database two fields are defined as fltp10) and fltp16 i need to display them as num (10) and num (12) and without decimal places
    please suggest i will definately rewards points to helpfull answers
    regards
    arora

    Hi Arora
    Do you mean, you need to display ignoring the decimal value???
    If so you can declare a variable of same lenght of type N and move the value, that will do the task.
    By default when we move numerical values it brings leading ZEROES.
    If the requirement is to remove the leading zeroes move to a integer type variable.
    Kind Regards
    Eswar

  • Displaying 3 decimal places?

    Hi,
    I have a bespoke program which picks up lines from bsis and displays them on a screen, the user then selects a few lines and the program posts them using program RFBIBL00. 
    Currently this program is working perfectly but I have a few countries which work with 3 decimal places instead of 2 and the program isn't picking this up.
    I've found that table TCURX holds currencies which have 3 decimal places but I want to know how I change all my internal tables and screen fields to suddenly have 3 decimal places instead of 2?  My internal tables and screen fields are all based on fields from BSIS and I have ALV grids and individual screen fields.  Do I need to duplicate all of the amount fields, one set to have 2 decimal places and the other to have 3?
    Any suggestions welcome.
    Gill

    OK, I've figured this out.
    If you define your screen fields (on the screen not in your data declarations) as CURR not DEC as mine were then you can put in a field as a reference.  I defined a new field (not a screen one) which held the currency for the screen.  If I define all my currency amount fields with 3 decimal places but refer them all to the currency field then they appear as 2 or 3 decimals places depending on the currency.
    Thanks for all your suggestions, they got me thinking on the right track.

  • Formatting currencies and decimal places

    I'm currently using NumberFormat.getCurrencyInstance() to format numbers as currency. However, one problem I'm having is that I'd like values with no cents to be formatted with no decimal places, and any values with cents to be formatted with the usual 2 decimal places. For example:
    17 would be formatted as $17
    17.45 would be formatted as $17.45
    17.4 would be formatted as $17.40
    The last one is the tricky part--I've tried formatter.setMinimumFractionDigits(0), and this works great for the first two cases. But for the last case, the number gets formatted as $17.4.
    Basically my problem is I want a number to be formatted with zero or two decimal places and nothing in between. Is there an easy way to do this?
    Thanks in advance.

    Otherwise you are likely to find that you are getting .00 due to errors from previous calculations. You are right. Adjusted it to Locale aware
    import java.text.FieldPosition;
    import java.text.NumberFormat;
    import java.text.ParseException;
    import java.text.ParsePosition;
    import java.util.Locale;
    public class SpecialCurrencyFormat extends NumberFormat {
        private static final long serialVersionUID = 1L;
        private final NumberFormat noDecimals;
        private final NumberFormat decimals;
        private final double maxDifference;
        private final double factor;
        public SpecialCurrencyFormat() {
         this(Locale.getDefault());
        public SpecialCurrencyFormat(Locale locale) {
         decimals = NumberFormat.getCurrencyInstance(locale);
         noDecimals = NumberFormat.getCurrencyInstance(locale);
         noDecimals.setMaximumFractionDigits(0);
         maxDifference = Math.pow(10, -decimals.getMaximumFractionDigits()) * .5;
         factor = Math.pow(10, decimals.getMaximumFractionDigits());
        @Override
        public StringBuffer format(double number, StringBuffer toAppendTo,
             FieldPosition pos) {
         double adjustedValue = (Math.round(number * factor)) / factor;
         if ((Math.abs(number - Math.round(number)) < maxDifference)) {
             return noDecimals.format(adjustedValue, toAppendTo, pos);
         } else {
             return decimals.format(adjustedValue, toAppendTo, pos);
        @Override
        public StringBuffer format(long number, StringBuffer toAppendTo,
             FieldPosition pos) {
         return noDecimals.format(number, toAppendTo, pos);
        @Override
        public Number parse(String source, ParsePosition parsePosition) {
         return decimals.parse(source, parsePosition);
        public static void main(String[] args) {
         NumberFormat nf = new SpecialCurrencyFormat(Locale.US);
         double[] values = { 10000, 1000, 100, 10, 1, 10.1, 10.01, 10.001,
              10.002, 10.003, 10.004, 10.005, 10.006, 10.007, 10.008, 10.009,
              10.010 };
         for (double value : values) {
             print(nf, value);
        private static void print(NumberFormat nf, double number) {
         String formatted = nf.format(number);
         try {
             System.out.println(number + "\tas " + formatted + "\tand back "
                  + nf.parse(formatted));
         } catch (ParseException e) {
             e.printStackTrace();
    }The value adjustedValue is needed since NumberFormat doesn't seem to round the value. It just breaks.
    Piet

  • Display amount in ALV Grid with different Decimal Places based on Currency

    HI Experts,
    Working with ALV Report i have one Amount field NETWR which is having Length 15 and Decimal Places 2.
    we have two different types of currency's AED and KWD and AED having 2 decimal Places and KWD having 3 decimal places.
    im using FM: REUSE_ALV_GRID_DISPLAY for Display. value storing in Table was like this
    AED---22.56
    KWD---225.65
    i need to display values like AED : 22.56

    HI Experts,
    Working with ALV Report i have one Amount field NETWR which is having Length 15 and Decimal Places 2. we have two different types of currency's AED and KWD and AED having 2 decimal Places and KWD having 3 decimal places.
    im using FM: REUSE_ALV_GRID_DISPLAY for Display. value storing in Table was like this
    AED---22.56
    KWD---225.65 (converting this value to 22.565 using BAPI_CURRENCY_GETDECIMALS according to currency in my Report)
    i need to display values like AED : 22.56
                                             KWD---22.565 but here field is NETWR with 2 decimal.
    Need to Display amount in ALV Grid with different Decimal Places based on Currency
    Regards,
    Dileep Kumar Reddy

  • Decimal places in alternative unit of measure

    Dear Gurus,
    we have a material having two units of measure. Kg and meter.
    we have to define base unit as meter and alternative as kg.
    1 m = 5.236 kg.
    But when i define this in alrenative UOM system gives error
    "Decimal places are not permitted"
    I know I can do it by multiplying by 1000 but I want to know whether we can use decimal places in alternative UOM
    I have already defined in CUNI display tab decimal places =3
    please help.
    Thanks

    S.J.,
    Wether you use the unit as main unit or additional unit, it doesn't make difference if you have maintained the required settings in CUNI, which you say alreadt done.
    Check out other setings like if you have used user exit etc.
    Also test the same unit some where else to have the exact idea.
    Hope this helps you.
    SmanS

  • Decimal places in form

    Dear Gurus.
    I need to display dinamic decimal places in my form.
    for example if I have a variable containing value:
    1.500  - need to display it as 1.5 (omitting trailling zeroes)
    1.520  - need to display it as 1.52,
    1.000  - need to display it as 1
    please help.
    Thanks & Regards,
    William Prawira.

    Hi,
    you need to write program lines in order to check the first,second and thrid decimal places with the following code and then display accrodingly the values.
    LV_DEC_PART = FRAC( TABLE-FIELD ).
    then in insert three text nodes with the same field with offsets.
    &TABLE-FIELD.0&  with the condition LV_DEC_PART+0(1) = 0.
    &TABLE-FIELD.1&  with the condition LV_DEC_PART0(2) = 0 AND LV_DEC_PART0(1) # 0.
    &TABLE-FIELD.2&  with the condition LV_DEC_PART0(3) = 0 AND LV_DEC_PART0(1) # 0 AND LV_DEC_PART+0(2) # 0.
    Hope this is clear.
    Regards,
    Ram

  • How to increase no. of decimal places in a cube

    Dear Friends
    Can you tell me
    how to increase no. of decimal places in a cube
    i want 5.98765 this value in the keyfigure
    but it is allowing me only 5.987 only 3 digits after decimal
    urgent
    Thx

    Hi Laxmi,
    Inorder to store data with more than 3 decimal places,you can check the keyfigure with maximum precision checkbox available in the additional properties tab of the keyfigure.By which you can store upto 9 decimal places.
    Or
    You can change the data type from DEC to FLTP,by which you can store data upto  15 decimal places in the cube.
    Also by changing decimal places in Bex allows you to change the decimal places for the data to be displayed and if the data in the cube is holding 3 decimal places how can you display 5 decimal places in report.
    Hope it helps....
    Regards,
    Umesh.

  • Change decimal places in a KF

    Hi,
    I have a KF Amount with Data Type = CURR.
    This KF has a data element associated ( automatically associated  when is created) with Lenght 17 and Decimal places 2.
    The KF is used in a ODS as Data Field.
    Now the user want to update the field, with 5 decimal places.
    I tried, but I couldn't change the Data Element. I read a thread that the Data Type has to be change to FLOAT instead of CURR, but when I see the Data Element it changed to Lenght = 16 and Decimal places = 16, and I cant set the decimal places.
    So, Could someone help me?
    Thanks, Federico

    Hi Federico,
    The table 'TCURX' determines how many decimal places the Key figure display the values. Mostly they are of 2 decimal places but in the query you can changing in the properties of the key figures to display 5 places. But you would typically not see all correct values. It will just do a rounding with 5 decimal places.
    Hope this helps.
    Best Regards,
    Hima

  • No of Decimal Places in Write Back

    Hi All,
    We are using ERPi/FDMEE writeback option to write data back to Oracle EBS12. Everything is working correctly, but while extracting data from Hyperion FDMEE is taking data in 7-8 decimal places. Is there any way to round this to 2 decimal places while exporting data ?

    Hi Laxmi,
    Inorder to store data with more than 3 decimal places,you can check the keyfigure with maximum precision checkbox available in the additional properties tab of the keyfigure.By which you can store upto 9 decimal places.
    Or
    You can change the data type from DEC to FLTP,by which you can store data upto  15 decimal places in the cube.
    Also by changing decimal places in Bex allows you to change the decimal places for the data to be displayed and if the data in the cube is holding 3 decimal places how can you display 5 decimal places in report.
    Hope it helps....
    Regards,
    Umesh.

  • How to concetenate decimal place

    hi
    i have declared a variable as
    var_ad_addtn(16)  TYPE p  DECIMALS 10.
    now the value is coming as two decimal place i want to truncate the decimal place and only show as integer but i cannot declare like integare and the field value passed to this variable is type curr and upto two decimal place
    what i am doing is var_ad_addtn+(.0). but this is not working please let me know the syntex and statement for truncating and not display the decimal place value from a value
    eg 1232834.90 i want to show as 1232834 only
    regards
    arora

    Hi Nishant,
    Then try the following fucntion modules:
    HR_NZ_ROUNDING_DECIMALS
    ROUND
    CALL FUNCTION 'ROUND'
        EXPORTING
          DECIMALS      = 0
          INPUT         = var1
          SIGN          = '-'
        IMPORTING
          OUTPUT        = var1
        EXCEPTIONS
          INPUT_INVALID = 1
          OVERFLOW      = 2
          TYPE_INVALID  = 3
          OTHERS        = 4.
      IF SY-SUBRC  0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Regards,
    Chandra Sekhar

  • Casting Number as Char - how to hide decimal places?

    I am casting a number as a Char because I am concatenating it with other things. The problem is that when I cast to char, it displays two decimal places of just 0's. I really don't want to show the decimal place or anything after it. Is there a way to remove them?
    Thanks

    Hi,
    You can have two approaches for the same.
    1> cast( cast(column as int) as char)
    2> Go to the column properties(i.e the finger mark on the coulmn heading). Then select the data format tab and check the override the default data format tab. Then you can set the decimal places.

Maybe you are looking for

  • Report for deleted line-items in Transfer Orders

    Dear All, Please help me in writing the code for "Report for deleted line-items in Transfer Orders". regards, nishu

  • Is there a serious flaw in LRs Print Module?

    I have been having no end of difficulty getting a decent print from LR. The more I search for answers the more I find that others have the same issue. It seems to be related mostly to Canon and HP printers. Most Epson users indicate they are getting

  • 10.4.8 does not recognize postscript fonts- help!

    I have a new Mac Pro running 10.4.8, and I have copied all the fonts I used on my old G4 running 10.4.3 into the appropriate place on my hard drive. However, the postscript fonts don't seem to be available to my applications, and I can't activate the

  • Forcing a mandatory portlet on all My Pages

    Hi, We're on version 6.1 and have created a custom portlet that we would like to force as mandatory on our users' My Pages. I tried in staging, and by changing the security of the portlet (adding our all users group and setting it to mandatory) was a

  • Properties file for a servlet at netbeans

    I want to make a servlet to use a properties file. The file name is passed as a initialization parameter. I�m developing with netbeans, where should I put this properties file? And if I want to deploy this to an independent tomcat server? Thanks in a