How to add 2 decimal places if the number is whole number(Integer)
Hi Gurus- I had a requirement to add the zeros for two decimal places even the number is an whole number.
Example: I had a column which i gave the datatype as Number(8,2) .While Inserting from the flat file to the custom table column,i am rounding it to 2 decimal places.But if its the whole number i want that also to be rounded to 2 decimal places.
1) 3456.89675 It's getting inserted as 3456.89
2) 123 It's getting inserted as 123 (Instead i want this to be inserted as 123.00)
3) 123.50000 It's getting inserted as 123.5 (Instead i want this to be inserted as 123.50)
Can you please let me know how can i achieve it to insert any number(decimal or whole number) from the flat file as 2 decimal places in the custom table column.
Thanks in advance.
Please do not post duplicates -- To update the date for the first of the month
Similar Messages
-
[SOLVED] How to add modules to build with the kernel?
Hello i´m trying to learn how to build my own custom kernel and doing it the arch way https://wiki.archlinux.org/index.php/Ke … raditional. But unfortunately dm-crypt was not included in the kernel so it all failed.
svart_alg% sudo mkinitcpio -k 3.15.6 -c /etc/mkinitcpio.conf -g /boot/initramfs-test.img
==> Starting build: 3.15.6
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [lvm2]
==> ERROR: module not found: ‘dm-snapshot’
-> Running build hook: [encrypt]
==> ERROR: module not found: ‘dm-crypt’
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
==> WARNING: No modules were added to the image. This is probably not what you want.
==> Creating gzip initcpio image: /boot/initramfs-test.img
==> WARNING: errors were encountered during the build. The image may not be complete.
I have never don any of this before and have no idea of how to add a missing module to the kernel i´m building. So i search on internet and had a very hard time finding a good guide for this but i fond one possible solution. https://www.kernel.org/doc/Documentatio … odules.txt
svart_alg% make -C /home/nigro_alko/Kernel/linux-3.15.6 M=/home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in
make: Entering directory ‘/home/nigro_alko/Kernel/linux-3.15.6‘
mkdir: cannot create directory ‘/home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in’: Not a directory
scripts/Makefile.build:44: /home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in/Makefile: Not a directory
make[1]: *** No rule to make target ‘/home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in/Makefile’. Stop.
Makefile:1310: recipe for target ‘_module_/home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in’ failed
make: *** [_module_/home/nigro_alko/Kernel/cryptsetup-1.6.5/Makefile.in] Error 2
make: Leaving directory ‘/home/nigro_alko/Kernel/linux-3.15.6‘
So is there any one that have time to help a lost little newbie i would bee very happy :-)
Last edited by Moosey_Linux (2014-07-29 15:00:40)karol wrote:Why do you want a custom kernel in the first place?
Moosey_Linux wrote:i´m trying to learn how to build my own custom kernel
Reason enough IMO. But anyway... you refer to the Traditional build method in the wiki, but is it possible you didn't really read it? Or maybe you only skimmed it? Did you run make menuconfig? Did you try to build everything in instead of using modules? That mkinitcpio output suggests that you did.
As suggested there for first-timers, it's a good idea to start with a kernel configuration that is known to work - the Arch config is the obvious choice, but there are other sources e.g. http://kernel-seeds.org/ . -
How we can increase decimal places in Sales Order for Qty
Hi,
In Sales Order qty field now its 3 decimal places for MON unit of measure but we want 4. how we can increase decimal places.
Thanks in advance
Thanks & Regards,
PMTo elaborate better.
Again, use Tcode CUNI - Unit of measurement : Initial Screen.
At initial screen, choose TIME from the list (where by default AAAADL- no dimensions is there).
And click on UNIT OF MEASUREMENT button.
In that you will find MON - Month.
There go for details by selecting MON or select MON and press F5 from Key board.
For MON unit maintain following parameter as per your requirement:
-Number of decimal places for number display
Use - This parameter determines the number of decimal places with which this measurement unit is displayed.
-Base ten exponent for floating-point display
Use - This exponent determines how the values for this measurement unit are formatted as floating point numbers.
Examples - If the exponent is 3, the floating point numbers have the format xxx.xxxxE3.
And deselect commercial meas. unit in application parameters section.
I would suggest instead of changing standard settings of MON, you create ZMON in TIME dimension.
Thanks & Regards
JP -
How to get 2 decimal place of an amount?!
Hi. How to get only 2 decimal place of the said amount?!
I use to_char(v_rec.amount, '999,999,999.99') however it is outputting more than 2 decimal place. Thanks!!
1,048.7800205
Edited by: 989873 on Feb 26, 2013 6:33 PM989873 wrote:
Hi. How to get only 2 decimal place of the said amount?!
I use to_char(v_rec.amount, '999,999,999.99') however it is outputting more than 2 decimal place. Thanks!!
1,048.7800205above should NOT contain any comma
it works OK for me.
How can we reproduce what you report?
1* select to_char(1048.7800205, '999,999,999.99') from dual
SQL> /
TO_CHAR(1048.78
1,048.78 -
How to add A single row at the middle of the table in a Webi report
Hi,
I created a Webi report using Universe(Created universe using bex query).Now i have a requirement to display a row at the middle of a report. Can you please tell me ,how to add a sigle row at the middle of a Webi report.
Thanks in advance
Regards
MonikaHi Monika,
It is not really possible to add a row (I assume you mean of unrelated data) to the middle of a table in a report. You can add a new table with a single row between two tables. For instance you could add a new one row table, or even single cells which are positioned relatively between two tables. Possibly a block on top of another. But this gets tricky.
Can you explain in more detail what you are trying to do?
Thanks -
How to add a radio station to the library
just loaded itunes 6 (windows box) and can't find out how to add a radio station to the library
If your current stations in WMP are .pls or .m3u URL's, they may work in iTunes also. Use the "Open Stream" command from the Advanced menu and put in the URL that includes .pls/.m3u. If the URL is a .mwv variety, those are Windows proprietary format and not supported by iTunes. Same with .ra streams (Real Audio).
.pls & .m3u usually indicate MP3 based streams supported in iTunes. It's up to the original radio station/streaming site to select the format and make it available. Shoutcast.com & Live365.com are great resources for mp3 based streams. -
How to add a new tab for the project?
Dear All Experts,
Could you tell me how to add a new tab for the project?
Pls refer to the screenshot as below:
Thanks!
Xinling ZhangHi,
The new tab in cj20n , and the new tab can only be displayed in the highed level.Pls refer to below
And in cj02, there is no this tab also in the wbs detailed screen,
Thanks!
Xinling -
Does anyone know how to add a preface page at the beginning of the book in ibooks author once the book is written? No matter how I try to add a Preface page, it goes to the end of the book.
Thanks. I've tried this and apparently the template I'm using is one of those where it doesn't work. I've tried dragging it as well as cutting a pasting but it always travels back to the end of the book. Maybe I can try changing the template temporarily, move the preface page, and then convert back to the original template. I'll experiment a little.
-
How to add a text box in the layout (View)
How to add a text box in the layout (View)
Hi.
Right Click in the RootUIElement container.
Click Insert Element.
Give Name: Input
Type : Input Field.
Press Enter.
Regards
Bala. -
How to add a excel driver in the Adminstrator tools
how to add a excel driver in the adminstrator tools > odbc Datasource,
I have to add the name and excel sheet location in the SystemDsn but whiling finishing the stups i will get the error like
error found could not found the registery.
,So is there any other setting is required while i am adding in the excel driver
please help me out for this ,this is 1st time am using the excel source in the report data source..I'd ask them over here.
Windows forums on Microsoft Answers
Office Excel forums on Micrsoft Answers
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows]
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. -
How to add an extra page to the index.html page on dreamweaver CS6?
How to add an extra page to the index.html page on dreamweaver CS6?
Index.html = your domain's home page. There is only one home page per site.
To create a new page from your index, go to File > SaveAs > filename.html. Repeat for other site pages. Add links on your index page that lead to other site pages.
See Creating your first web site in DW CC (5-part tutorial)
https://helpx.adobe.com/dreamweaver/learn/tutorials/how-to/first-website-part1.html
Nancy O. -
How to add 'Confidential' watermark to all the pages in portal
Hi
How to add 'Confidential' watermark to all the pages in portal.We have ESS/MSS business packages installed 60.1, 60.2.
ECC5, EP SP16 is the environment.
Help will be appreciated
Thanks
SharathHi Sharath,
What about using the theme editor to add a background to either the page or the iView tray?
Daniel -
An you tell me how to add an advanced action to the TEB so you can check for multiple lines of input
an you tell me how to add an advanced action to the TEB so you can check for multiple lines of input? How do you add the advanced action?
Can you elaborate your requirement?
If you want to have a text wrapped around and enable a scroller for the same, you can achieve it by TEB properties and check the scroll bar option,
Is this what you are looking to achieve?
Thanks,
Anjaneai -
How to add more summary data in the MIP of Compensation workbench
Hi all,
In the MIP (incentive plan) of the compensation workbench, we need to add more summary data in the summary section. I checked that all the summary data in that section are stored in the table 'ben_cwb_summary'.
Even we can change the VIEW object for that page (using extension), we can't retrieve it because the new summary data/information we need to add are not stored in the table 'ben_cwb_summary'. We need to write our query to summerize data.
How to implement it?
Thanks in advanced!
Janefaiz2000 wrote:
> How to add more one record in the same time?
>
> Please I need your help to add more one record in the
same time, how can I do
> that?
>
> I have only one text field and the value it is linked
from other table, if
> user he bushes bottoms the all data it will copy it to
new record:
>
> Ex.: <input name="textfield" type="text"
>
value="<%=(Recordset1.Fields.Item("webgroup").Value)%>">
>
>
Use "Repeat Region"
Mick -
How to add user defined tab in the Header level of T-Code O4NM?
How to add user defined tab in the Header level of T-Code O4NM?
I tried with BADI but I cant able to find any BADI for it and also searched for screen exit too..Can you check the user exits,
OIJNOM_N and OIJTKT_N
Cheers,
Balaji
Maybe you are looking for
-
A Friend Was Working On My Mac Pro And Now Every File On The Computer Shows
A friend was using the Mac Pro to look at a disc, and he said he went into Terminal. Now, every file on the computer shows. He hasn't gotten back to me, and it's a little annoying, seeing ALL the faded envelopes with minus signs, and extra files. I h
-
I am trying to update my version of Firefox on my Mac.
I am trying to update Firefox on my Mac. I am running OSX 10.5.8, but the website is telling me the latest version does not support my operating system. I downloaded it anyway, and it doesn't work. I have deleted all version of Firefox from my comput
-
Help with LO cockpit Please..
Hi Everybody, I am trying to learn Lo cockpit extraction. I have searched for postings in this topic but i am unable to follow it. I have also checked out the links. Note: I have this link al ready: http://www.sap-img.com/business/lo-cockpit-s
-
My i pod will not sync to i tunes
i have tried every suggestion and still cannot get my i pod to synch to i tunes, i have un installed i tunes and re installed, i have restored my i pod, my USB cords are fine, please help, about to go nuts tonight
-
I'm moving a camera through a 3d pipe (made in 3DS). I've got the movement sorted but I'm having trouble with the collision side of things. I want to stop my camera from passing through the tube walls. I've tried a modifier: member(Tube).model(camera