Any std funtion(s) for Zero-padded, 2 decimal value, without the deci point

Hi,
We want Zero-padded, two decimal value, without the decimal point. For example if it is 14.31, we need 001431.
I have done "multiply" with 100 and "formatNumber" as '000000'
SFIeld --> multiply * 100 --> formatNumber (000000) --> TField
It works good for values with decimal like above 14.31, does it work for everything else too? I mean for 12 it is populating as 001200. Is this best approach? Is there any other std funtions or UDF sample available?
Regards,
N@v!n

>
N@v!n Kumar wrote:
> Hi,
>
> We want Zero-padded, two decimal value, without the decimal point. For example if it is 14.31, we need 001431.
> I have done "multiply" with 100 and "formatNumber" as '000000'
>
> SFIeld --> multiply * 100 --> formatNumber (000000) --> TField
>
> It works good for values with decimal like above 14.31, does it work for everything else too? I mean for 12 it is populating as 001200. Is this best approach? Is there any other std funtions or UDF sample available?
>
> Regards,
> N@v!n
public void convert_number(String[] FieldValue,ResultList result,Container container){
FieldValue = FieldValue * 100;
result.addValue(FieldValue);

Similar Messages

  • My itunes radio rebuffers every 8 seconds - is there any fix or help for this problem.  I am running the latest itunes on a new Mac  with 4MB download speed.

    My itunes radio rebuffers every 8 seconds - is there any fix or help for this problem.  I am running the latest itunes on a new Mac  with 4MB download speed.

    You need to update your Mac OS to at least 10.5.8.
    Itunes 10+ requires Mac OS 10.5.8+

  • Stupid question,, when installing acrobat, they ask for serial number,, i wrote that without the dashes between numbers,, do I need to have dashes between sets of 4 numbers ?

    stupid question,, when installing acrobat, they ask for serial number,, i wrote that without the dashes between numbers,, do I need to have dashes between sets of 4 numbers ?

    Yes Example:-
    1234-5678-1234-5678-1234-5678

  • Do u guys have any trade in policy for I pad

    I need to know if apple has any trade in policy for I pad

    Talk to Apple. They are not here.
    My guess is no.
    Allan

  • I have ipad2 w/ios7 ... Looking for a shortcut for deleting read and unread emails without the individual method

    Am looking for a method to remove read & unread emails on 2 accounts without the manual one buy one method. Appreciate response!
    <Email Edited by Host>

    Find an alternate app in the app store, or login to your email account via a web browser (if that is an availableoption with your provider). The only mailboxes you can delete en mass from in the native app is the trash.

  • Any way to check for errors in an external table besides the log?

    For example if you have an external table where a column is defined with a CHAR(1) but when you run a SELECT on it, the mapping comes up with trying to put a CHAR(2) into that single space. The only way I'm aware to see if something is wrong is to check the .log file. Is there any other way to check for an error message or count?
    I'm mounting external tables and copying data over to a 'holding' table to be able to work on the data before it's moved into the actual production table with PL/SQ code. If the stored proc can determine what rows are bad or missing or even that there just are some rows with problems then hand back to the app, it would greatly improve things.
    Thanks.

    No other way than to check for the existance of a .bad file, then have a look see at the .log then?

  • My Cannon HF 100 native format is 50i but when iMovie loads it up it says the it is at 30 fps - for PAL 25fps 50 i would be ideal one would hav ethought - any experts out there. movies in NSTC seem to be without the interference patterns (jiggling leaves)

    my canon HF50 is set to a native 50i frame rate. When I load it into iMovie from the chip iMovie says it is at 30 fps. Interestingly editing it int NSTC (american TV format) I do not seem to get the horrible interference patterns (twitching leaves, vibrating paralell lines that I have with doing the same clips as PAL, )the british format).

    My daughter has had her Razr for about 9 months now.  About two weeks ago she picked up her phone in the morning on her way to school when she noticed two cracks, both starting at the camera lens. One goes completely to the bottom and the other goes sharply to the side. She has never dropped it and me and my husband went over it with a fine tooth comb. We looked under a magnifying glass and could no find any reason for the glass to crack. Not one ding, scratch or bang. Our daughter really takes good care of her stuff, but we still wanted to make sure before we sent it in for repairs. Well we did and we got a reply from Motorola with a picture of the cracks saying this was customer abuse and that it is not covered under warranty. Even though they did not find any physical damage to back it up. Well I e-mailed them back and told them I did a little research and found pages of people having the same problems. Well I did not hear from them until I received a notice from Fed Ex that they were sending the phone back. NOT FIXED!!! I went to look up why and guess what there is no case open any more for the phone. It has been wiped clean. I put in the RMA # it comes back not found, I put in the ID #, the SN# and all comes back not found. Yet a day earlier all the info was there. I know there is a lot more people like me and all of you, but they just don't want to be bothered so they pay to have it fix, just to have it do it again. Unless they have found the problem and only fixing it on a customer pay only set up. I am furious and will not be recommending this phone to anyone. And to think I was considering this phone for my next up grade! NOT!!!!

  • Why is firefox rendering any kind of accent or other character in an odd fashion now naivete for instance can only be rendered without the accents?

    naïveté is rendered naïveté
    power — the spiritual principles is rendered power — the spiritual principles
    There are other instances of this.
    We are concerned especially with the inability of the browser to render accents properly

    Make sure that you have selected Unicode.
    *Firefox > Web Developer > Character Encoding > Unicode
    *View > Character Encoding > Unicode

  • IPhone 3GS, running ios5 successfully for weeks, cannot send a message without the messaging app immediately crashing. I have restored, updated, turned on and off, still cannot receive or send texts. Please help!

    I originally restored my phone after music and videos iTunes said had synced were not showing up on my phone - sorted that problem, now this.

    This may sound dumb, but if you can't send or receive any texts at all, someone in another thread mentioned shutting down, taking out the SIM card, reinserting, and rebooting.  If that doesn't work try putting the SIM in another phone then putting it back in the iPhone.  If it still doesn't work ask the provider for a new SIM.
    Also, I don't understand why iPhone doesn't allow MMS without data.  MMS was DESIGNED to be sent as a text message and it works on regular "dumb" phones with no data.  This is not new technology yet iPhone is purposely blocking it.  That is ridiculous.  You can see from the following table that this is what Apple wants:
    http://support.apple.com/kb/TS2755
    (As a side note, you can also see from the table they are intentionally blocking the ability to send a text to an email address even though that too is not a new feature, and that too works in other phones.)

  • I was buying parts of a macbook pro 13" what are all the essential parts, wires perhaps for it to be fully functional (without the fan/ keyboard/ mouse and speakers. Thank you

    I was making an investigation into what I needed to make a bit of a bit of a hybrid between my musical inteface and the mac book pro 13...I looking for the macbook to just hold and processes the application i require to perform live music, in this case the software max msp. I was looking for peoples opinions on what risks im taking just powering the motherboard of the model and have people had experience of reconstructing the mashine, what sort of things did they discover.
    Thank you very much for reading, I will very very much  appreciate any reponce from people
    Joel

    You've got it right. The SSD can be upgraded, though it's expensive and potentially voids the warranty. The RAM can't be upgraded at all.
    Can you return it? If not, your only option may be to sell it.

  • How can i download cs5 for mac onto a new computer without the disk?

    I am trying to download cs5 onto a new computer, i have the serial number but i do not have the disk. It is a mac program, and I am just looking for the download.

    Hi EmilyLevine,
    Welcome to Adobe Forums.
    Please use the below link to download CS5 Adobe products.
    http://prodesigntools.com/all-adobe-cs5-direct-download-links.html
    Please make sure to complete the Very Important Instructions section prior to clicking on the download link.
    Thanks

  • If I buy any iPhone can it still work as an iPod touch without the phone carrier? Will it work normal?

    So what if I bought an iPhone 4 or 5 off craigslist because it was cheaper than a 5th generation iPod. Would it still work as an iPod without a phone carrier?

    You will need to have a SIM in the phone to activate it. If it's still locked to a carrier, it will need to be a SIM from that carrier. This would need to be done if/when you update the software.
    Make sure the phone is no longer attached to the previous owner's iCloud account. You can check that here: https://www.icloud.com/activationlock/
    ~Lyssa

  • Std Work flow for Invoice Parking & posting

    I am working om std SAP workflow for invoice document parking :
    I have done the following activities :
    1. Activate Work flow Template for Document Completion
    Here i activated the event "Complete the Parked Log. IV Document"--> Incoming Invoice Document Parked. It is showing a green traffic light .
    In agent assignment
    Complete the Parked Log. IV Document>Complete the Parked Log. IV Document>Complete the Parked Invoice--> i have assigned the user MMCONFIG
    2. In Define Release Criteria i have the following settings :
    1000 H Credit 0.01 INR US MMCONFIG
    1000 S Debit 0.01 INR US MMCONFIG
    3. In Activate Workflow Template for Release for Posting
    Here i activated the event Incoming Invoice Complete: ReleaseRel & i m getting a green traffic light .
    In assign agents i did the following
    Release the Completed Log. IV Document>Release the Completed Log. IV Document>Release the Completed Log. IV Document i assigned the user MMCONFIG
    In Invoice Parking: Approve Release i assigned the user MMCONFIG .
    For Invoice Parking: Release Invoice
    Invoice Parking: Posting an Invoice " I AM NOT ABLE TO ASSIGN ANY USER AS THESE ARE BACKGROUND TASKS ".
    Now when do a MIR7 - Park invoice & save the invoice as complete i am getting a mail in the mail box of MMCONFIG saying :
    "Invoice Release 5105xxxxxxx 2009, Completed by MMCONFIG "
    I go & release the same invoice .
    Then i executed MIRO & tried posting the released invoice . The sysem doesnt allow me 2 post the invoice .
    It automatically goes to MIR4 transaction & forces me to save as complete
    if i try to post it the system says "Parked document is release-relevant and cannot be posted"
    Pls tell me how can I post the invoice & IF MY SETTINGS FOR THE WORKFLOW IS OK ???
    Regards
    Anis

    Firstly,  check with the Binding of the event and workflow, if they are fine
    then check if the workflow gets triggered when you are posting... to check this,
    First go to transaction SWU8 - turn on the workflow trace and then
    Proceed with posting the invoice
    go to transaction SWU8 again and then turn off the workflow trace
    go to SWU9 - to check which all workflows got triggered....
    If there is any workitem in your workflow, then go to SWI1 and select the workitem of that workflow and press shift+F8 to check the status of it and also check to which all agents it had sent...
    If possible just give a hardcoded value in the workitem for testing purpose and check if that goes properly, later on implement the rule.....
    If the workflow does not triggere - go to transaction SWETYPV and deactivate and activate the event linkage with that workflow....
    Regards,

  • Unable to find any active legal regulations for determination proc. "TEST1"

    Hi Guys
    This is in regards to a Customs document for a Payment doc
    We have just finished the configuration of the Finance integration which will stop blocked partners during the Payment run
    Now when we create a Proposal in the Payment run in ECC, the same document gets transferred to GTS, now even though the SPL is active when we check the Log there is a message Unable to find any active legal regulations for determination proc
    Upon further investigation of the customs document i found 2 things
    1) In the Geography section Country of Departure is populated with US, but the Country of destination is blank, this might be a reason as the Legal regulation checks both the countries and then activate, any idea how i can get the same to populate?
    2) If the above population does happen, from which partner type should it come from, as in my customs document only Vendor and Bank is there, in the PO customs document this is being populated properly
    Any idea what is wrong here?
    Thanks
    Carl

    Hi Dave
    Thanks for answering again.
    I have tried activating it at country level, country/country, country/group, Same result in case of all
    As i know now since the Country of Destination is missing, it cannot activate the last two, but the same is also not working at country level.
    So is there anyway to maybe have some partner function which can populate the Destination country.
    Any other advice will be really helpful..
    Thanks
    Carl

  • Is there any lab view driver for HP6624A ?

    I would like to know that is there any lab view driver for HP6624A.

    Please place this question in the Instrument Control board, as you will get an answer more quickly there. This board is targeted to questions regarding the MH DDK for NI data acquisition plug-in boards.
    Christian Loew, CLA
    Principal Systems Engineer, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

Maybe you are looking for

  • Job failing after start of process chain

    HI All i have proces chain based on sm37 job....but the chain is stucking at the Start process of the Proces chian and the Start process is in yellow... when  i check the status of the job in sm37.. it is showing as cancelled and it is showing in Rel

  • Automatic loading from data marts

    Hi All, I have a cube which has a data flow wherein I have an ODS1 which gives data to ODS2 and then finally to the cube. I have put this entire process in a process chain. But many a times due to an erroneous record,. the ODS1 loading fails and then

  • Processed rows in ADF Table are unsorted

    I have to process the selected rows of an ADF table programmatically. This is not so difficult, like in the [example |http://www.johnbrunswick.com/2011/08/adftable-get-selected-row-or-rows/] below. But the rows are processes in a random, unsorted man

  • VTS restrictions for discWelder CHROME II ??

    We're building the Video_TS in DVD Studio Pro 4, for our DVD-A project, which is being created in discWelder CHROME II. We think we've figured out the audio integration portion, but we're still trying to double-check that we're meeting all of the res

  • Can I use my Mac to play guitar without going through Garage band

    Just wondering about playing My guitar with the computer, But not going through Garage band.. Is that possible??