A question about Numerical Output format

Hello Expert,
I have the following testing report:
ZYWU_TEST06
data: lv_total type DMBTR.
lv_total = 10990000001.
write: /  'total:',  lv_total.
The output is as following:
total: 10990000,001.00
DMBTR is CURRENCY data type with length 13 and decimal 2.  My exepection to output is 10,990,000,001.00, rather than 10990000,001.00
Can any expert tell me how to show the result as my expection? (Not mention the way to convert the numerical to Character)
Thanks & Best Regards, Yongbo.

Hi,
Use:
write: / 'total:', lv_total using edit mask '___,___,___,__.__'.
Best regards,
Leandro Mengue

Similar Messages

  • CBWFQ: Question about the output of "show policy-map interface" command

    Hi everyone,
    I have a question about the output of "show policy-map interface" command.
    The following is the output of this command and lower side of the output shows
    (total queued/total drops/no-buffer drops) 0/342/0
    If the packets drop occur due to the situation of no enough buffer,
    "no-buffer drops" counted up. But "no-buffer drops" has not been counted up.
    The "no-buffer drops" is 0 (zero) but "total drops" are counted as 342.
    I guess there are other factors except "no-buffer drops" to add "total drops".
    But I can not find any information about "other factors".
    So I would like to know the "other factors" added to "total drops".
    reserch-3725#sh policy-map interface fastethernet0/1
    FastEthernet0/1
    Service-policy output: shaping
    Class-map: kdpc (match-all)
    146956873 packets, 115209221595 bytes
    5 minute offered rate 156000 bps, drop rate 0 bps
    Match: access-group name YOKOHAMA_to_CHINO
    Traffic Shaping
    Target/Average Byte Sustain Excess Interval Increment
    Rate Limit bits/int bits/int (ms) (bytes)
    9360000/9360000 58500 234000 234000 25 29250
    Adapt Queue Packets Bytes Packets Bytes Shaping
    Active Depth Delayed Delayed Active
    - 0 146956724 3539850811 2960247 3851843541 no
    Class-map: class-default (match-any)
    552458414 packets, 249687580329 bytes
    5 minute offered rate 242000 bps, drop rate 0 bps
    Match: any
    Traffic Shaping
    Target/Average Byte Sustain Excess Interval Increment
    Rate Limit bits/int bits/int (ms) (bytes)
    3072000/3072000 19200 76800 76800 25 9600
    Adapt Queue Packets Bytes Packets Bytes Shaping
    Active Depth Delayed Delayed Active
    - 0 552453209 573909865 30358216 2926188156 no
    Service-policy : policy1
    Class-map: dlsw (match-all)
    979578 packets, 264843255 bytes
    5 minute offered rate 0 bps, drop rate 0 bps
    Match: access-group name acl-dlsw
    Queueing
    Output Queue: Conversation 137
    Bandwidth 128 (kbps) Max Threshold 64 (packets)
    (pkts matched/bytes matched) 20922/17371500
    (depth/total drops/no-buffer drops) 0/0/0
    Class-map: telnet (match-all)
    29938 packets, 1806058 bytes
    5 minute offered rate 0 bps, drop rate 0 bps
    Match: access-group name acl-telnet
    Queueing
    Output Queue: Conversation 138
    Bandwidth 64 (kbps) Max Threshold 64 (packets)
    (pkts matched/bytes matched) 639/38900
    (depth/total drops/no-buffer drops) 0/0/0
    Class-map: class-default (match-any)
    551448911 packets, 249420939729 bytes
    5 minute offered rate 242000 bps, drop rate 0 bps
    Match: any
    Queueing
    Flow Based Fair Queueing
    Maximum Number of Hashed Queues 128
    (total queued/total drops/no-buffer drops) 0/342/0
    Your information would be appreciated.

    Details infomatiuon regarding show policy-map interface
    http://www.cisco.com/en/US/tech/tk543/tk545/technologies_tech_note09186a008010dd6a.shtml
    http://www.cisco.com/en/US/tech/tk543/tk760/technologies_tech_note09186a0080108e2d.shtml
    http://www.cisco.com/univercd/cc/td/doc/product/software/ios123/123cgcr/qos_r/qos_s2g.htm#wp1146884

  • Question about imap log format.

    I hava a question about imap log file.
    Here are sample imap log lines
    [26/Dec/2005:13:21:24 +0900] mail imapd[513]: Account Notice: close [203.231.11.113] ywmoon 2005/12/26 13:21:24 0:00:00 1013 2843 2
    [26/Dec/2005:13:21:32 +0900] mail imapd[513]: Account Notice: close [203.231.14.251] hkchoi 2005/12/26 13:20:37 0:00:55 446 1196 0
    Above line...
    First line
    ywmoon : UserID
    2005/12/26 : Date
    13:21:24 : login time (hour:minute:second)
    0:00:00 : ?
    1013 : bytes from client to server
    2843 : bytes from server to client
    2 : ?
    next line
    13:20:37 : same above
    0:00:55 : ?
    446 : same above
    1196 : same above
    0 : ?
    From above, I don't know "?" mark fields.
    0:00:00 or 0:00:55 ==> expenditure time to login ? And is this "hour:minute:second" OR "minute:second:milliSecond" ?
    2 or 0 ==> 1 means INBOX. 0 and 2, what they are mean ?
    Thank you in advance...

    I hava a question about imap log file.
    Here are sample imap log lines
    [26/Dec/2005:13:21:24 +0900] mail imapd[513]: Account
    Notice: close [203.231.11.113] ywmoon 2005/12/26
    13:21:24 0:00:00 1013 2843 2
    [26/Dec/2005:13:21:32 +0900] mail imapd[513]: Account
    Notice: close [203.231.14.251] hkchoi 2005/12/26
    13:20:37 0:00:55 446 1196 0
    Above line...
    First line
    ywmoon : UserID
    2005/12/26 : Date
    13:21:24 : login time (hour:minute:second)
    0:00:00 : ?how long the connection lasted.
    1013 : bytes from client to server
    2843 : bytes from server to client
    2 : ?Number of messages?
    that's a guess. we don't actually document this stuff.
    >
    next line
    13:20:37 : same above
    0:00:55 : ?
    446 : same above
    1196 : same above
    0 : ?
    From above, I don't know "?" mark fields.
    0:00:00 or 0:00:55 ==> expenditure time to login ?
    And is this "hour:minute:second" OR
    "minute:second:milliSecond" ?
    2 or 0 ==> 1 means INBOX. 0 and 2, what they are mean
    Thank you in advance...

  • Few questions about partitioning and formatting in Windows 8

    Hello,
    I'm very shortly after a Windows 8 reinstall and I want to make use of this moment to finally understand partitioning and formatting in Windows 8.
    Before using Windows 8, I was an XP user for 5 years and I actually never bothered myself with formatting my main system partition, that's probably why my computer ended up working like a slime for the last years. Anyway, by now I have been using Windows 8 for a year.
    Three weeks ago I faced a system-related problem with my laptop (IdeaPad Y580) which prevented it from peacefully shutting down. A good friend of mine (XP user for his entire life, and now Windows 7 newbie user) told me, that I should keep all my non-system stuff on separate partition and that I should do the main system partition format from time to time to keep my PC out of trouble. It is sure that he took his knowledge from using XP, and here's my first question - does this method apply to Windows 8?
    I mean as far as I know, back then, in XP, partitioning was possible only during Windows installation, and now, in Windows 8 we have a Disk Management for this, which do not require running Windows installation to create new partitions.
    I'm mentioning this due to the fact that originally (I mean by factory settings) my drive has only one visible partition - C: (1TB), so I would need to use the Disk Management to take some space from C: partition and allocate it to the new D: partition.
    In case I do this whole partitioning operation and create a D: partition, is it sure that formatting my system-only C: partition won't have effects on my D: partition, and all the programms and data I have here will stay on their places and work after format? (I'm worried about this because I've seen in some partitioning guide a warning not to format the main partition after the partitioning operation, because it would erase totally all data - I'm not sure if I misunderstood something or is it a mistake? EDIT: here's the link for this guide, just jump to the "Final Thoughts" section to see what I'm taking about: http://www.technorms.com/8438/windows-8-create-hard-drive-partition ).
    If this whole method of keeping your system running fine doesn't apply to Windows 8, I guess I'm okay with having only one C: partition.
    By the way, it doesn't matter for me if I create new partition in terms of conflicts with preinstalled Lenovo OneKey Recovery, since I had to reinstall my Windows 8 recently from non-Lenovo CD, and either way my laptop is now totally clean, without Lenovo stuff (I found Lenovo Recovery CD for Y580 on the internet, but it had non-single-language Windows 8 in it, and I needed a single-laguage one in order to have my Product Key recognised, so I just used a pure Windows 8 SL installer)

    I just found out that I can't even transfer my Users folder or Program Data to other drive than the one with the system, because it would prevent me from updating my system or even from actually booting to my system. So apparently my whole topic is for nothing... I guess I should live with only one drive, and whenever my system totally crashes again I should do the backups to my external HDD. It's sad though that Windows 8 is a total opposite to user-friendly OS, to say the least.

  • One last question about building and formatting

    When I am writing my DLT do I need to remove the .layout file and the Data.lay file? It will already be built but I will be using DVDSP3 to write the DLT. Are they removed automatically? The manual seems ambiguous about this.
    Also I need to output in the DDP2.0 format (Its a DVD-9). I can't select this without choosing build and format. I have been testing by building to my desktop and testing on the Apple DVD player. If I choose build and format will it rebuild the project? And if it rebuilds is it possible for me to get something besides what I have been checking? I just want to make sure I write the same thing to the DLT that I have been checking.

    you can also get ddp by just doing format as opposed to build and format. You can not open a ddp image in dvd player to test it, so there really is no use of building it to your hard drive. If you have already built the project and you have a video ts folder, then you can go under format and choose the dlt drive as your location and make sure you are referencing the folder with the videots in it.
    there wont be anychanges from the video ts after it has been built, it is merely converting it into a ddp image.

  • A question about BPEL data formats

    Hi everyone,
    I am new to BPEL and have a question regarding the format of data "inside" BPEL variables. Perhaps someone can clear this up?
    When defining a variable in BPEL, I can either give it an XML Schema simple or complex type - or a "WSDL message type". I am confused with regard to the last one. A WSDL message has parts, and the parts have types themselves. These types, however, can be from an arbitrary type language. XML Schema is one possibility, but there might be others. I have two questions with regard to this:
    1) If I use some proprietary schema instead of XML Schema, can I handle data in this format in the BPEL process? I.e., can I assign "literal" data to the parts in my own format, and (if it is XML-based) manipulate it with XPath?
    2) WSDL allows the definition of styles and encodings in the concrete part. How does the conversion happen between what's on the wire (in the SOAP body) and inside the BPEL variables? I.e. when using RPC/Encoded, does the Oracle BPEL engine automatically convert everything into plain-XML-Schema-validated-XML and back or does RPC/Encoded XML show up inside the variables? What if the BPEL engine doesn't understand the concrete format?
    Thanks a lot!
    Reto

    Fabio,
    I am not sure I understood you clearly. But ODI uses the underlying technology of the target database to perform the CDC. There are several KMs for each technology that let you achieve the same.
    eg. For Oracle, a trigger based CDC is available which creates triggers on the underlying tables in the database to capture the changes.
    Also for Oracle, a Logminer based CDC is available which reads the Oracle logs to capture the changes made over to tables.

  • Questions about input/output streams

    In the following tutorial:
    http://chortle.ccsu.ctstateu.edu/CS151/Notes/chap85/ch85_10.html
    It mentions that some methods, such as write(), writeByte(), writeBytes(), and writeChar(), return the low eight bits of the argument to the output stream. I am a little unsure of what exactly that means, might somebody be able to clarify for me?
    In addition, I've been encountering the flush() method in some of the byte- and character-streaming objects that deal with buffers. What exactly is the flush() method's purpose, and when might it be used? Thank you.

    flush pushes the data out of the buffer. the write methods write to the buffer, when the buffer is full, it flushes itself (usually), or it could block the write methods (in theory). flush just lets you make sure that it's flushed.
    I'm not sure there's any reason to worry about high and low bytes in Java most of the time. I suppose, like anything, there's times you need to, but I can't think of any offhand.

  • Question about TIFF file format

    None of the forums seems to be right for my question, this one seems the best suited...
    Why does Mac still use the TIFF file format for things like Grab, etc.? JPG is a more commonly used format, but I do understand why the TIFF file format is better from a quality perspective.
    I'm just curious at my end, that's all. I don't mind using TIFF.

    But, if I understand things correctly, if you now select a JPG of zero compression, it's evolved into a potentially lossless file.
    Close, but not quite. If you start with a TIFF and save it as a maximum quality JPEG (level 12), then lay one on top of the other in Photoshop and zoom way in, you can find a fair amount of pixels that have changed values. Not anywhere near enough to notice any difference in a printout or visual color. They still do take up less space than the original TIFF.
    Of course, if you'd rather the image didn't change one iota and still save space, then save the TIFF with LZW compression.

  • Questions about Classical Layout Formatting

    Hi,
    Just a question on classic reporting. Im pretty sure we can customize the layout of a classic report to look like this, ie.
    SDN
       SAP
         &nbsp:NETWORK
    Therefore, when a user print this report out, will the report come out this way?
    When the user export to a csv and text format, will the format still be the same?
    Thanks,
    r3venant
    Message was edited by:
            r3venant
    Message was edited by: Meeeee
            r3venant

    I just found out that I can't even transfer my Users folder or Program Data to other drive than the one with the system, because it would prevent me from updating my system or even from actually booting to my system. So apparently my whole topic is for nothing... I guess I should live with only one drive, and whenever my system totally crashes again I should do the backups to my external HDD. It's sad though that Windows 8 is a total opposite to user-friendly OS, to say the least.

  • 2 part question about PDF output in RoboHelp 8

    I've been able to generate fairly clean-looking PDFs in RoboHelp with the entire Help contents.
    My 2 questions are:
    1)  Is there a way to generate a Word document from the Help contents?  I notice that when I choose "batch generate" it appears to generate
    a Word doc that behaves as a distiller file and then creates a PDF.  Is there a way to generate just a Word document?
    2)  If not, is there a way to set the settings within RoboHelp to allow you to edit the text in the generated PDF?
    I do not have the full version of Acrobat and can't edit text with Adobe Reader. 
    thanks for any feedback!
    Rachel

    Hi Rachel
    Examine the properties of your Printed Documentation Single Source Layout recipe.
    You might be pleasantly surprised.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Question about Audiobook file format

    Can Audiobooks be in .mp3 format or are they in other file format? I am using iTunes 6.01.4.2
    I have the Bible on 6 CDs, in .mp3 format.
    I'd like to be able to add them to the iTunes Library
    as Audiobooks if this is possible or do I have to add them as I would a music file?

    The following information on audiobooks is from ilounge.com. I believe there may be some useful information for you at the bottom of the page. Hope this helps!

  • Quick question about my output

    I am trying to write a project to calculate 5 birthdays. There are no errors and it calclates the first 4 birthdays fine but when i type in the 5 birthday it comes up with the wrong birthday. Or if i enter the same brithday 5 times it come up wrong
    here are the bdays i have to enter
    1/1/90, 9/25/90, 9/30/90, 10/15/90, 11/1/90
    thanks in advance
    package cmpproject2;
    import chapter2.MyInput;
    public class Project2Class
    public static void main(String[] args)
    { //declare variables
    int year, myyear, month, mymonth, day, myday, age, count, otherbdays;
    //prompt user to enter today's year
    System.out.println("Please enter today's year: example 2002");
    year = MyInput.readInt();
    if(year < 1)
    System.out.println("invalid year, please enter a positive number");
    year = MyInput.readInt();
    //prompt user to enter today's month
    System.out.println("Please enter today's month example 1-12");
    month = MyInput.readInt();
    if(month < 1 || month > 12)
    System.out.println("invalid month, please enter again(1 to 12)");
    month = MyInput.readInt();
    //prompt user to enter today's day
    System.out.println("Please enter today's day");
    day = MyInput.readInt();
    if (day < 1 || day > 31)
    System.out.println("Please enter again (1 to 31)");
    day = MyInput.readInt();
    //ask how many birthdays
    System.out.println("Enter # of birthdays you wish to calculate");
    otherbdays=MyInput.readInt();
    count=0;
    while(count<otherbdays)//this will loop once for each bday
    //prompt user to enter your birthday's year
    System.out.println("Please enter your birthday's year example yyyy");
    myyear = MyInput.readInt();
    if(myyear < 1)
    System.out.println("invalid year, please enter a positive number");
    myyear = MyInput.readInt();
    //prompt user to enter your birthday's month
    System.out.println("Please enter your birthday's month");
    mymonth = MyInput.readInt();
    if(mymonth < 1 || mymonth > 12)
    System.out.println("invalid month, please enter again(1 to 12)");
    mymonth = MyInput.readInt();
    //prompt user to enter your birthday's day
    System.out.println("Please enter your birthday's day # 1-31");
    myday = MyInput.readInt();
    if (myday < 1 || myday > 31)
    System.out.println("Please enter again (1 to 31)");
    myday = MyInput.readInt();
    if (myday > day)
    month = month - 1;
    if (mymonth > month)
    year = year -1;
    //calculate the user age
    age = year - myyear;
    //Display results
    System.out.println(" Your age is: " + age);
    //get next bday
    count++;
    System.out.println();
    System.out.println("Programmer: Brian Jacoviello");
    }//end main method
    }//end Project2

    I compiled your program and tested it, heres all in and output:
    Please enter today's year: example 2002
    2002
    Please enter today's month example 1-12
    10
    Please enter today's day
    15
    Enter # of birthdays you wish to calculate
    5
    Please enter your birthday's year example yyyy
    1990
    Please enter your birthday's month
    1
    Please enter your birthday's day # 1-31
    1
    Your age is: 12
    Please enter your birthday's year example yyyy
    1990
    Please enter your birthday's month
    9
    Please enter your birthday's day # 1-31
    25
    Your age is: 12
    Please enter your birthday's year example yyyy
    1990
    Please enter your birthday's month
    9
    Please enter your birthday's day # 1-31
    30
    Your age is: 11
    Please enter your birthday's year example yyyy
    1990
    Please enter your birthday's month
    10
    Please enter your birthday's day # 1-31
    15
    Your age is: 10
    Please enter your birthday's year example yyyy
    1990
    Please enter your birthday's month
    11
    Please enter your birthday's day # 1-31
    1
    Your age is: 9
    Programmer: Brian Jacoviello
    So, the error isn't that hard to find. Look at this:
    if (myday > day)
    month = month - 1;
    if (mymonth > month)
    year = year -1;You change the current date. Your first birthday is always correct, but what happens if you first type in 9/25/90 and after that 10/15/90?
    The first if statement is true, because 25>15 so you decrease the current date by one. The age for the first birthday is correct, but now you type in the second (10/15/90) I can assure you that a guy with this birthday is exactly 12 years old!
    But remember, you decreased the month of the current date by 1, so the variable month holds the value 9 (10-1). Now the second if statement is true, and the year of the date is decreased by 1. So your program would show an age of 11.
    It's really simple to correct the mistake just concentrate on these lines:
    if (myday > day)
    month = month - 1;
    if (mymonth > month)
    year = year -1;If you can't correct it post again, you will get more help.

  • Question about compiler output

    What does the following compiler output mean?
    Note: test.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    I need to have use of a stack so I am using java's Stack class from the util package.

    Ah ok I see that you have to add the <E> notation to make sure the compiler does not give the warning. Can someone explain the concept of the compiler error and the <E> notation.
    Also can someone tell me how can you edit posts on this forum?

  • Question about the new format of iTunes

    I have the new version of iTunes, but I want all of my music in the "Music" folder under "Library" - not the stuff I downloaded from CDs in "Music" under "Library" and the stuff I purchased in iStore in "Purchased" under "iTunes Store". I have a regular laptop with Windows XP on it, if that helps anyone at all. Is there some way I can fix it so all my music appears in the "Music" folder?
    If anyone has an answer, please email me at [email protected]
    Thanks

    Your question is unclear.
    If it is music, it shows under Music in Library.
    This includes purchases and music from your own CDs.
    You cannot change this.
    Purchased under iTunes store is a playlist. The songs are still in the library.

  • Non-numeric String formatting

    Ok, I understand about numeric string formating (NumberFormat). But what I need help with is string formatting.
    For example, I'm working on an app with fixed-length records. Let's take a name field. I need the string "John Doe" formatted to a 40-character field, right-justified. Can someone point me to a class or a URL with information on this.
    Sorry for asking such an elementary question.

    Ok, I understand about numeric string formating
    (NumberFormat). But what I need help with is string
    formatting.
    For example, I'm working on an app with fixed-length
    records. Let's take a name field. I need the string
    "John Doe" formatted to a 40-character field,
    right-justified. Can someone point me to a class or a
    URL with information on this.In the JDK I found nothing, but in the jakarta-Projekt of apache.org:
    http://jakarta.apache.org/commons/lang.html
    There is a class called StringUtils.
    You only have to write:
    String rightJustified = StringUtils.rightPad("John Doe", 40);
    If you don't find something in the JDK look at Jakarta. They have a lot of useful stuff.

Maybe you are looking for