Number format for Indian Rupee
Hi All,
I am working on SAP B1 2007b.
In crystal report I want amount to be printed as 1,51,20,300 but it prints as 15,120,300.
Is there any solution for this.
thanks & regards,
sheetal
Hi,
Create this Function and call by Query-
Create FUNCTION NumberFormate_IndianRupees(@monetary_value decimal(20,2) ) returns varchar(20)
as
begin
declare @return_value varchar(20)
declare @is_negative bit
select @is_negative = case when @monetary_value<0 then 1 else 0 end
if @is_negative = 1
set @monetary_value = -1*@monetary_value
set @return_value = convert(varchar, isnull(@monetary_value, 0))
declare @before varchar(20), @after varchar(20)
if charindex ('.', @return_value )>0
begin
set @after= substring(@return_value, charindex ('.', @return_value ), len(@return_value))
set @before= substring(@return_value,1, charindex ('.', @return_value )-1)
end
else
begin
set @before = @return_value
set @after=''
end
declare @i int
if len(@before)>3
begin
set @i = 3
while @i>1 and @i < len(@before)
begin
set @before = substring(@before,1,len(@before)-@i) + ',' + right(@before,@i)
set @i = @i + 3
end
end
set @return_value = @before + @after
if @is_negative = 1
set @return_value = '-' + @return_value
return @return_value
end
For Testing--
select dbo.NumberFormate_IndianRupees (15120300.546)
Similar Messages
-
Invalid number format for portnumber
I am trying to install Oracle 10G Lite
During this process it requires a password.
Leaving the 1st line unchanged (system) I fill in the 2nd line "Manager" (Which is supposed to be the password)
After this, I get the message
i/o uitzondering: invalid number format for portnumber
Who knows how I can correct this
Thanks in advance
HeinFor repository information, if you have already Oracle 10g server installed and running database. Then you should supply system/password/1521/<sid> information to generate repository. Otherwise no reason to select repository from wizard
Check this installation document for verify that your system are passing pre-requisite to install Lite.
http://download.oracle.com/docs/cd/E12095_01/doc.10302/e12080/preinstall.htm#CBHBEDBC
Oracle Database Lite Standalone using OC4J Standalone JDK 5.0
Edited by: OrionNet on Dec 20, 2008 4:51 PM -
How can I make lining number format for opentype fonts in Acrobat?
How can I make lining number format for opentype fonts in Acrobat?
I bought the Max OT font. I want the numbers on the right to look like on the left. I could do that in word, but not in adobe acrobat.
-
Which are the supported phone number formats for IPhone?
Can anybody tell me which are the supported phone number formats for IPhone? or any link which will help me as I want to know exactly which phone numner formats are supported by iPhones? Thanks in advance
Thanks for your quick reply. But I want to know like the below mentioned phone number formats, which other formats are supported by iPhone,
1. +36 1 889 6600
2. +421 33/591 79 11
3. +39 035 322048
4. +65 6336 3456
5. +61 7 3027 8400
6. +86 516-83265979
Can you give some idea regarding this? thanks in advance. -
How to set default number format for whole app
Hi!
I have a bunch of View Objects and I have to set the format for each attribute of type number. I've tried using
MyAtt_FMT_FORMAT=#,##0.00
MaAtt_FMT_FORMATTER=oracle.jbo.format.DefaultNumberFormatter
on just a couple of attributes and it works OK. But since I have a lot of number fields across application in a lots of view objects, I would like to set this format as default for all the number fields in my application.
Can I do that and if yes, how?
Thanksyou can use Domains.
chapter 26 Advanced Entity Object Techniques in Developer’s Guide For Forms/4GL Developers
Regards, -
IPhone number formatting for Ireland and the UK now supported!
I was pretty impressed to discover that the iPhone 2.2 update now supports telephone number formatting in Ireland and the UK.
So, for example an Irish mobile number will be displayed as (086) XXX XXXX instead of just 086XXXXXXX. Seems to work flawlessly for any number I've tried, including special rate like freephone 1 800 etc.
The same is now also true for the UK, it displays the numbers correctly formatted now too!
It certainly makes things easier to read!vice versa in us
-
Serail number format for CS5 extended
what is the format of the photoshop cs5 extended serial number?
Hi ghbhimsud,
See the document Find a serial number (http://helpx.adobe.com/x-productkb/global/find-serial-number.html) for information on locating the serial number.
Thanks,
Preran -
Bank Account number format for new zealand country
Hi Expert,
Could you please help me out with the bank rules for New Zealand bank. I want to know how the Bank key, Bank Account number format will be.
And also, what would i need to ask for vendor if i try to update the bank details in SAP.Hello, Shiva!
You can check these links for New Zealand bank number formats:
New Zealand bank account prefix - Wikipedia, the free encyclopedia
http://www.enz.org/forum/showthread.php?t=7756
http://www.newzealandbankcodes.com/
Hope, this will help you!
Best ragards,
The Wirtschaftsmann! -
I have found in our 0WBS_ELEMT master data two formats for the same WBS Element:
P2123301000130020
P.212330/100-013002-0
I suspect the 2nd format to come from the Shopping Cart data load while in general the first format is used.
Why is there this difference is the passing of this data and how can we 'unify' this?
Regards,
EricPost Author: V361
CA Forum: General
is the field you are working with a date or a string. If a string, you may need to write a formula to convert to a date, then use that formula in your chart. Hopefully that will fix the legend -
Hello,
my problem is to convert my numbers into a correct excel format. the numbers are saved in a spreadsheet file and with an editor it looks like this:
9,723197E+0
8,229011E-1
When I filled a Excel file with this data it looks like:
9723,00 and 0,823.
I tried different things to solve the problem but nothing helped.
Can anyone help me?
markus
Solved!
Go to Solution.Hello Markus,
I have two things you could try - both helped for me. But I strongly recommand to make a Cope of the VI you will have to change, in case that you need the original functionality.
1) Open ...\national instruments\LabVIEW 8.x\vi.lib\addons\_office\_excelsub.llb\Excel_Insert_Table.vi
2) Delete the two property-nodes Range>>Value so that the VI looks like the attached screenshot "Excel I.jpg"
3) You can additional place a "Frag/Exp string to number"-Function in the VI (see screenshot "Excel II.jpg")
But I repeat, please make a copy of that VI and save it to a different folder before you make these changes.
Regards
Johannes
Attachments:
Excel I.jpg 70 KB
Excel II.jpg 130 KB -
Number format for shorthand money values
Hi,
How can I format currency values to shorthand?
ie how can I display 12500 as 12.5, 2700 as 2.7, 700 as 0.7 etc?
I have tried using various masks but can't achieve the results I'm looking for
Thanks
JThis?
with my_tab as (select 2700 col1 from dual union all
select 12500 col1 from dual union all
select 700 col1 from dual)
-- end of mimicking your data; USE SQL below:
select col1 / 1000
from my_tab;
COL1/1000
2.7
12.5
.7 -
Hello,
I have an entity attribute of BigDecimal type having format type set to number.
Its format string is '# ##0.00' (to have the thousand character set to ' ' instead of ',') but on the rendering there is no space, on outputText or inputText. How can I have the desired render ?This doesn't work :(
Here is (one of) my field:
<af:outputFormatted id="of1"
value="#{backingBeanScope.MyBB.totalAmount}"
converter="javax.faces.BigDecimal"
rendered="true" inlineStyle="font-size:large;">
<af:convertNumber type="number" pattern="# ##0.00"
groupingUsed="true" integerOnly="false"/>
</af:outputFormatted>The bean function signature is:
public Float getTotalAmount()In the generated HTML page, the result is:
<span style="font-size: large;" id="pt1:r1:0:of1">18061,00 </span> -
How to change default number format for saved data in signalexpress
I cannot find an option for determining format and precision of saved data. By default it is scientific with i think 3 siginificant numbers. How and where to do it?
Stjepan, it sounds like you're right where I was 2 months ago! Glad to see I'm not the only one struggling w/ SE.
Here's what I've had to do to control the precision of the data in my ascii file.
Insert an Amplitudes and Levels step from Analysis>Time Domain Measurements.
In the A&L settings, deselect Export RMA Value (keep Export DC Value selected).
Now drag that DC signal from the A&L step into your data view (literally drag and drop this signal onto the graph). From here you can configure the data view's properties to your likings, I.E, significant digits or digits of precision, floating point, etc.
I've found that Floating Point, 2 Significant Digits, and uncheck Hide Trailing Zeros to work well (visually speaking).
Insert your Save to ASCII step after the A&L step, and be sure to save your A&L's DC signal.
The data will export exactly as it's shown in the display.
TIP: you can rename your signals from any of the steps. This is handy because it's the renamed channel names that show up in your data headers (much more descriptive when you have multiple channels).
My apologies if this is all information you already know...
Message Edited by OKors on 09-10-2009 10:27 AM
SCXI- 1000 Chassis w/ 1346 adapter
PCI 6281 DAQ card
SCXI- 1520 Bridge Board w/ 1314 Terminal Block (x2)
SCXI- 1180 Feedthrough Panel w/ 1302 Block
Signal Express 2014.
Win7 Enterprise -
New Decimal Notation Format Required For Indian Projects
Respected Members,
As at the user level or tcode SU01 only three decimal notations are provided.
But for country India the decimal notation format is totally different.
Given decimal notation format is
1,234,567.89
And the Required Format For India is
1,23,456.78
Becoz we mention the Rupees in this format only.
And this second format is not available in SPRO also .
How to create the desired decimal notation and add the corresponding functionality.
And if we use the given format (1,234,567.89) then when we converting the amount in words through Function module
SPELL_AMOUNT ,it is not converting properly even though we have maintain the entries in View V_T015Z.
Suppose our amount is 1,00,000 that is One lakh but it will show in the output ONE HUNDRED THOUSAND.
I know that there is another function Module HR_ch_ something to convert in words according to indian currency.
But it does not solve the issue properly.
THis DECIMAL NOTATION format for Indian Projects is a BIG MESS.
So kindly tell me any solution or it is the drawback of SAP.
So that we can ask SAP to append this Decimal Notation and required Functionality for the Indian Projects.
Kindly Send Your Valuable answer and Try To Make clear picture and SAP Technical People if Reading this thread then kindly give stress on the REQUIRED DECIMAL NOTATION.
THANKS A LOT.Hi Manish please you can try this code
REPORT ZAMOUNT_CONVERSION.
DATA : RESULT1(20).
PARAMETERS : NUM TYPE P DECIMALS 2.
DATA : num2 type STRING.
DATA : col_amt(20) type n,"15
col_b type i,
num_1(20) type C,"15
Length type i.
num_1 = num.
write : 'default format :',num.
uline.
skip.
IF ( num >= 999999999 ).
write num_1 using edit mask 'RR__,__,__,__,______' to col_amt.
CONDENSE col_amt.
length = STRLEN( col_amt ).
if length = 16.
REPLACE first OCCURRENCE OF ',' in col_amt with space.
write :/'amount indian format:',col_amt.
else.
write :/'amount indian format:',col_amt.
endif.
ELSEIF NUM < 999999999 AND NUM >= 9999999.
write num_1 using edit mask 'RR__,__,__,______' to col_amt.
condense col_amt .
length = STRLEN( COL_AMT ).
if length = 13.
REPLACE first OCCURRENCE OF ',' in col_amt with space.
write :/'amount indian format:',col_amt.
else.
write :/'amount indian format:',col_amt.
endif.
ELSEIF NUM < 9999999 AND NUM >= 99999.
write num_1 using edit mask 'RR__,__,______' to col_amt.
condense col_amt .
length = STRLEN( COL_AMT ).
write :/'amount indian format:',col_amt.
ELSEIF NUM < 99999.
data : dumy(10) type c.
dumy = num .
CONDENSE dumy.
length = STRLEN( dumy ).
if length <= 6.
write :/'amount indian format:',num.
else.
write num_1 using edit mask 'RR__,______' to col_amt.
write :/'amount indian format:',col_amt.
endif.
ENDIF.
uline.
create a function module with this code .hope this will solve the issue. -
How do I change the number formatting within a Cell Table in Microsoft Word?
Hi, I was wondering if someone could help me out on an issue I've been having... I work for an accounting firm and we do a lot of financial statements.
I was wondering if we would be able to treat a cell table in Microsoft Word 2007 like I would a cell table in Microsoft Excel. Meaning, I would like to change the formatting of the numbers in the table to the "Accounting" (number) format so it
aligns by the decimal point and use the $ signs and () for negative numbers. We do use the link tables feature, however, most of our balancing pages just can't be done in Excel because of the way the text is written. It would be much harder to format
the text if it were to be typed in Excel. We have also tried creating an Excel sheet within Microsoft Word but it is the same as linking the tables... Again, a text formatting issue. The only option is to use tables within Word but how do we change
the number formatting to a "accounting" (number) format where the numbers would align with the decimal point and use () for the negative numbers. Is there ANY option for us to do this other than manually entering this information in using tabs?
If there are no options other than entering it in manually, please consider this as an option for your next software update. I believe that a LOT of people out there will be interested in this feature... My manager and I just attended a webinar on Microsoft
Advanced Word Tips Tricks and Techniques and 75% of the attending people had this question but no answer.
Thank you very much for your help!!!!!Word does not really have number formatting for table cells. You can align cell contents on the decimal point, though, by setting a so-called decimal tab stop.
Option 1:
- Select the cells for which you want to do this.
- Display the ruler.
- Click the Tab box on the left hand side of the ruler until the box contains an inverted T with a dot.
- Click in the ruler where you want the decimal tab.
Option 2:
- Select the cells for which you want to do this.
- Click the arrow in the lower right corner of the Paragraph group on the Home tab of the ribbon.
- Click the Tabs... button in the lower left corner of the dialog.
- Specify a tab position in the box, e.g. 1.5".
- Select the 'Decimal' radio button under 'Alignment'.
- Click Set.
- Click OK.
You will have to type the numbers as they should appear, including the $ for currency and the ( ) for negative numbers.
Regards, Hans Vogelaar
Maybe you are looking for
-
Matrox MXO2 Mini and CS6 Windows?
I got a Blackmagic Intensity Pro card to monitor the Premiere CS6 timeline, which turned out to have very mediocre performance since half the times I press play the audio lags one second behind the video. So I'm going to return it and get something e
-
I just got a Swiss Memory swissbit flash drive that I attempted to completely erase and format in Disk Utility. I formatted as Mac OS X Standard and now my drive does not mount when I plug it in. The light on my flash drive blinks but I get no icon o
-
Property change listener error with jtabbedpane
Greetings I have a property change listener on my jtabbedpane (2 panes (index 0 of course and index 1). my problem is when i want to run my app it gives me a java null pointer exception. I believe it is b/c it is starting the app and it see the prope
-
Can I use air drop on my iPad"
How can I use airdrop on my iPad?
-
[915 Series] LiveUpdate 3 Hangs systems at end of Windows XP boot
After installing LiveUpdate 3, my system hangs near the end of XP boot. Searching the forum, I found one thread related to this - https://forum-en.msi.com/index.php?topic=63173.0 but it didn't offer any solution. Anyone else experience this or have