Formatting amount to 2 decimal places without rounding the value
Hi
My requirement is to format the amount field, when I am using the simple type and setting the format as ###,##0.00 then it is rounding off the value. Foe example say the amount is 3,567.236 in this case it rounds it off to 3,567.24 which I do not want we want the value to display as 3,567.23. Does anyone have any idea how this can be achieved.
Thank you
Regards,
Preet
Use the following :
BigDecimal bigDecimalh = new BigDecimal("22.335642");
bigDecimalh = bigDecimalh.setScale(2, BigDecimal.ROUND_DOWN);
Regards,
Himanshu
Similar Messages
-
Double value truncated to two decimal places without rounding the value.
I want to truncate double value to two decimal places without doing the rounding of the value.
Is there any method which can directly do the truncation.There's many ways to achieve this such as using
BigDecimal's setScale method or type-casting. This is
the way I like to do it:double d = -5.239;
d = d > 0 ? Math.floor(d * 100) / 100.0 : Math.ceil(d
* 100) / 100.0;
Your division by 100 may cause an rounding error, because there are numbers which no finite binary representation. That's splitting hairs! I know ;-) -
Rounding to 2 decimal places WITHOUT using any formatting class
Hello
I'm trying to round a number (double) to 2 decimal places without using any of the formatting class like (DecimalFormat or Math.Round and BigDecimal). Is it possible to do it by just using typecast?OP:
BigDecimal is not a formatting class. Math.round isn't a class at all.
Typecasting doesn't really do that sort of thing at all (unless you count dropping fractional components when casting to an integer type).
double holds values in binary format, so it's basically impossible to round to decimal values meaningfully.
Chuck:
I thought that BigDecimal supported arbitrary decimal precision, so one doesn't have to do that sort of thing....? -
Formatting Strings to two decimal places
When formatting double amounts to two decimal places, I looked up the procedure online and I have this so far:
public void calculatePayments()
double monthlyInterestRate = (Double.parseDouble(interestBox.getText())/12)/100;
double amountOfLoan = Double.parseDouble(balanceBox.getText());
double numberOfPayments = Double.parseDouble(yearsBox.getText()) * 12;
DecimalFormat Currency = new DecimalFormat("0.00");
double paymentAmount = (amountOfLoan * monthlyInterestRate) / (1 - Math.pow(1/(1 + monthlyInterestRate),numberOfPayments));
double formattedAmount = Currency.format(paymentAmount);
String s = Double.toString(paymentAmount);
tableBox.append(s);
tableBox.setText("Payment" + "\n" + "Number" + "\n");
for(int i = 0; i <= numberOfPayments; i++)
tableBox.append("" + i + "\n");
However, I get the following:
ProgramInterface.java:134: incompatible types
found : java.lang.String
required: double
double formattedAmount = (Currency.format(paymentAmount));
I'm trying to append the number to a text box (I'm making a loan calculator for my 155 class) Thanks for the helpString s = Currency.format(paymentAmount);Next time please paste your code between code tags exactly like this:
[code]
your code
[/code]
You can do that by simply pasting your code in the message area, highlight it and then click on the code button above.
You may read the [url http://forum.java.sun.com/help.jspa?sec=formatting]Formatting tips for more information.
Regards -
Number formatting with either 2 decimal places or none
Hello,
I'm using Acrobat 8 in XP and not familiar with Javascript.
I have some dollar amount fields where I need it to be number formatted, and limited to 2 decimal places but leave the user the ability to enter only an integer.
ie, go to two decimal places if any of
> .
> .0
> .00
> .000(...)
are present but leave it off if none are present.
I assume I need a custom format script but I've not been able to learn enough to figure it out yet.
If anyone can give me some code I can edit and paste, that would be great. Any help is appreciated.> Have a String as "3.0000000"
String s = "3.0000000";
System.out.printf("%.2f", Double.parseDouble(s)); // 3.00
Formatting - Numbers and Currencies
~ -
Limit a float value to single decimal place after round off
41.231445 is float value . How can I limit this to a single decimal place after round off?
ie; 41.2
Any help in this regard will be well appreciated with dukes.
Regards,
AneesAlso read this: [http://java.sun.com/docs/books/tutorial/i18n/format/decimalFormat.html]
-
To remove decimal places and round
hi all ,
select (sum(case when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) <> upper('Top')) then
(((((H.SLURRY_VOL_ACTUAL * 5.6146)/H.SLURRY_YIELD)*94)/2000) )
when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) = upper('Top')) then
( ((nvl(H.CLASS_V_CEMENT,0)*94)/2000) )
when F.ITEM_UOM = 'Pound' then
CEIL( ROUND((((((H.SLURRY_VOL_ACTUAL * 5.6146)/DECODE(H.SLURRY_YIELD,0,NULL,H.SLURRY_YIELD)))*94)*F.ITEM_PERCENT/100)))/2000
end)*(j.opn_value/2)) SUM_MAT_ACT_TON ,--------transport
sum(case when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) <> upper('Top')) then
((H.SLURRY_VOL_ACTUAL * 5.6146)/H.SLURRY_YIELD)
when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) = upper('Top')) then
nvl(H.CLASS_V_CEMENT,0)
when F.ITEM_UOM = 'Pound' then
ROUND(((ROUND(((H.SLURRY_VOL_ACTUAL * 5.6146)/DECODE(H.SLURRY_YIELD,0,NULL,H.SLURRY_YIELD)))*94)*F.ITEM_PERCENT/100 )/P.ATTRIBUTE5)
end) SUM_sload , ----sload
sum(case when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) <> upper('Top')) then
((H.SLURRY_VOL_ACTUAL * 5.6146)/H.SLURRY_YIELD)
-- when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) = upper('Top')) then
-- nvl(H.CLASS_V_CEMENT,0)
when F.ITEM_UOM = 'Pound' and F.BLEND <> 'PH'then
ROUND(((ROUND(((H.SLURRY_VOL_ACTUAL * 5.6146)/DECODE(H.SLURRY_YIELD,0,NULL,H.SLURRY_YIELD)))*94)*F.ITEM_PERCENT/100 )/P.ATTRIBUTE5)
end) BLENDING
,e.opn_job_desc
FROM xxnp_opn_joblog_001 E,
XXNP_OPN_JOBLOG_EST_002 F,
XXNP_OPN_JOBLOG_STAGE_002 G,
XXNP_OPN_JOBLOG_SLURRY_003 H,
XXNP_OPN_JOBLOG_RES_005 J,
MTL_SYSTEM_ITEMS_B P
WHERE E.OPN_JOB_DESC = 'K/D/SP158/SA399/1338/D/0510/1' AND
E.MANUAL='N'
and J.opn_resource_desc='4X4 PICK-UP OR LIGHT VEHICLES'
AND E.OPN_JOBLOG_001_ID = J.OPN_JOBLOG_001_ID
and F.INVENTORY_ITEM_ID=P.INVENTORY_ITEM_ID
AND p.ORGANIZATION_ID='103'
AND E.OPN_JOBLOG_001_ID = G.OPN_JOBLOG_001_ID
AND G.OPN_JOBLOG_006_ID = H.OPN_JOBLOG_006_ID
AND H.OPN_JOBLOG_007_ID = F.OPN_JOBLOG_007_ID
AND G.OPN_JOBLOG_006_ID = H.OPN_JOBLOG_006_ID
AND H.OPN_JOBLOG_007_ID = F.OPN_JOBLOG_007_ID
GROUP BY E.OPN_JOB_DESC,j.opn_value
o/p i am getting
SUM_MAT_ACT_TON SUM_SLOAD BLENDING OPN_JOB_DESC
11587.7954154787 1957.62401925833 1454.62401925833 K/D/SP158/SA399/1338/D/0510/1
well can anyone guide me on obtaining the following output (to remove decimal places and round )
SUM_MAT_ACT_TON SUM_SLOAD BLENDING OPN_JOB_DESC
11588 1958 1455 K/D/SP158/SA399/1338/D/0510/1thanking in advance
Edited by: makdutakdu on May 25, 2010 12:48 PMselect round( (sum(case when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) upper('Top')) then
(((((H.SLURRY_VOL_ACTUAL * 5.6146)/H.SLURRY_YIELD)*94)/2000) )
when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) = upper('Top')) then
( ((nvl(H.CLASS_V_CEMENT,0)*94)/2000) )
when F.ITEM_UOM = 'Pound' then
CEIL( ROUND((((((H.SLURRY_VOL_ACTUAL * 5.6146)/DECODE(H.SLURRY_YIELD,0,NULL,H.SLURRY_YIELD)))*94)*F.ITEM_PERCENT/100)))/2000
end)*(j.opn_value/2))) SUM_MAT_ACT_TON ,--------transport
round(sum(case when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) upper('Top')) then
((H.SLURRY_VOL_ACTUAL * 5.6146)/H.SLURRY_YIELD)
when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) = upper('Top')) then
nvl(H.CLASS_V_CEMENT,0)
when F.ITEM_UOM = 'Pound' then
ROUND(((ROUND(((H.SLURRY_VOL_ACTUAL * 5.6146)/DECODE(H.SLURRY_YIELD,0,NULL,H.SLURRY_YIELD)))*94)*F.ITEM_PERCENT/100 )/P.ATTRIBUTE5)
end)) SUM_sload , ----sload
round(sum(case when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) upper('Top')) then
((H.SLURRY_VOL_ACTUAL * 5.6146)/H.SLURRY_YIELD)
-- when (F.ITEM_UOM = 'Cubic Feet' and upper(substr(H.SLURRY_TYPE,1,3)) = upper('Top')) then
-- nvl(H.CLASS_V_CEMENT,0)
when F.ITEM_UOM = 'Pound' and F.BLEND 'PH'then
ROUND(((ROUND(((H.SLURRY_VOL_ACTUAL * 5.6146)/DECODE(H.SLURRY_YIELD,0,NULL,H.SLURRY_YIELD)))*94)*F.ITEM_PERCENT/100 )/P.ATTRIBUTE5)
end)) BLENDING,
e.opn_job_desc
FROM xxnp_opn_joblog_001 E,
XXNP_OPN_JOBLOG_EST_002 F,
XXNP_OPN_JOBLOG_STAGE_002 G,
XXNP_OPN_JOBLOG_SLURRY_003 H,
XXNP_OPN_JOBLOG_RES_005 J,
MTL_SYSTEM_ITEMS_B P
WHERE E.OPN_JOB_DESC = E.OPN_JOB_DESC AND
E.MANUAL='N'
and J.opn_resource_desc='4X4 PICK-UP OR LIGHT VEHICLES'
AND E.OPN_JOBLOG_001_ID = J.OPN_JOBLOG_001_ID
and F.INVENTORY_ITEM_ID=P.INVENTORY_ITEM_ID
AND p.ORGANIZATION_ID='103'
AND E.OPN_JOBLOG_001_ID = G.OPN_JOBLOG_001_ID
AND G.OPN_JOBLOG_006_ID = H.OPN_JOBLOG_006_ID
AND H.OPN_JOBLOG_007_ID = F.OPN_JOBLOG_007_ID
AND G.OPN_JOBLOG_006_ID = H.OPN_JOBLOG_006_ID
AND H.OPN_JOBLOG_007_ID = F.OPN_JOBLOG_007_ID
GROUP BY E.OPN_JOB_DESC,j.opn_value -
0QUANTITY - Six decimal places - Rouding to the third decimal place
Hello experts, how are you?
We are facing a problem with decimal places here in the project.
We're using M3 unit of measure and the user required 6 decimal places.
We already changed ANDEC and DECAN fields from T006 table to value 6,
the key figure itself (0QUANTITY), the key figure in the InfoCube and in the input-ready query, but the recorded data is being rounded to the third decimal place.
Can someone help us with it?
Thanks in advance,
Helder RiosHi,
First of all I'd like to thank you for your help guys.
Ashish, I changed the data element RSKYFQUA to 6 decimal places. But when I try to activate the cube, the system is not able to re-create the fact tables.
Do you know if there's a solution for it?
Thanks in advance,
Helder Rios -
How can I create accurate decimal dimensions when creating a new document or using the art board in Illustrator CS6? When I type in a number with a decimal, it automatically rounds the number up.
For my part you are welcome, sdowers.
Unfortunately, the uncertainty arising from the rounding has been up several times here in this forum.
I just came to remember a warning that needs to be given:
The rounding of the representation of a numerical value may be harmless in itself, but if you use it for any operation that changes the value, such as multiplication or whatever, things will go wrong because the operation will be made on the basis of the rounded value instead of the true value. So, as in your first case in post #2, 39.625 rounded to 39.63 will become 79.26 instead of 79.25. -
Want to round the value can any body suggest
hai all
i want to round the value and store it in on variable
eg:12334.789 as to 123345 it should be stored in some variable
suggest me please
thanks in advance
sinduHi,
You can Use either
FLOOR : Largest integer value that is not greater than 12334.789
or
CEIL: Smallest integer value that is not less than 12334.789
or
TRUNC :Interger part of 12334.789
Eg:
DATA: I TYPE I,
X TYPE P VALUE '12334.789 '.
I = FLOOR( X ). output- 12334
I = CEIL( X ). output- 12335
I = TRUNC( X ). output: 12334
regards
Rakesh -
Formatting a Double to 2 decimal places without first converting to String
Hi,
Does anyone have any clear idea on how to format a Double directly without first converting it
to a String.I have just read through DecimalFormat/NumberFormat but I think there might be an easier way.I am also aware of printf(%f) and format(%f),but unfortunately am using Java 1.4 at the moment which does not seem to support them(will upgrade soon).The code I have is as follows:
public void displayAnalysis ()
System.out.println ("========================================================================");
System.out.println ("========================================================================");
System.out.println ("\nANALYSIS RESULTS FOR FILE " + inputFile + " \n");
System.out.println ("========================================================================");
System.out.println ("========================================================================");
System.out.println ("\nString length: "+ inputText.length());
System.out.println ("Ratio of printing to non-printing characters: "+ pRatio);
System.out.println ("Ratio of vowels to consonants: "+ vRatio);
System.out.println ("");
System.out.println ("Frequency of vowels as a percentage of number of printing characters;");
System.out.println ("Percentage of a's ="+ (NumberFormat.format(new DecimalFormat(((double)frequency[0]*100)/printable)))));
System.out.println ("Percentage of e's ="+ ((double)frequency[1]*100)/printable + "%");
System.out.println ("Percentage of i's ="+ ((double)frequency[2]*100)/printable + "%");
System.out.println ("Percentage of o's ="+ ((double)frequency[3]*100)/printable + "%");
System.out.println ("Percentage of u's ="+ ((double)frequency[4]*100)/printable + "%");
System.out.println ("Number of whitespace characters were " + whitespace);
System.out.println ("");
System.out.println ("========================================================================");
System.out.println ("========================================================================");
System.out.println ("");
System.out.println ("");
}I would like to display the frequencies to 2 decimal places.As a last resort I will have to alter the code to use DecimalFormat,but I'm hoping someone has a simpler solution.Oops,please ignore the line for the first frequency (a's),I was just playing around with trying to use NumberFormat!
-
Convert amount with four decimal places to amount with two decimal places
Hi,
for specific reasons we have set the prices to four decimal places. However, in an invoice the staff needs to see all prices with two decimal places. Therefore I have created new user-defined fields which should show the rounded values However, I have not yet found the right formatted search that outputs the value with two decimal places including currency symbol.
The statement
SELECT $[$38.20.NUMBER]
outputs the value with two decimal places which is fine, but it does not contain the currency.
The statement
SELECT $[$38.20.0]
outputs both value and currency, but the value still has four decimal places as the original price.
And the statement
SELECT CAST($[$38.20.NUMBER] AS VARCHAR(20)) + $[$38.20.CURRENCY]
outputs a value with even six decimal places.
Did anyone already have the same problem???
Or does anyone have any idea???
Thanks and regards
CorinnaHi again,
the value should be displayed in a user-defined field of the screen.
The result of the query
SELECT $[$38.20.NUMBER]
has already two decimal places, so that I do not need a round here. But the currency is missing.
When I add the round function to the query
SELECT $[$38.20.0]
it does unfortunatly result in an error.
Any ideas????
Thanks so much in advance! -
Rounding off float to 2 decimal places and returning the float
I tried doing bigdecimal but it doesnt work. :
BigDecimal bd = new BigDecimal(5 * 0.0394);
retval = bd.floatValue();
System.out.printf(" th %f\n",retval);
I see 0.197000. I know that there are 6 places since I didnt do %.2f. However its not the printf thats important . The float I want to return must be rounded off to two decimal places.
Thanks in advance for the help,
sbUse BigDecimal.round( MathContext mc ), where the MathContext object is set to a precision value of 3;
BigDecimal roundedBigD = myOriginalBigD.round( new MathContext( 3 ) );� {� -
Trying to limit the fidelity (to 2 decimal places) of a calculated value?
Hi Everyone,
I have a column that shows the Profit / Loss % for items sold.
ISNULL(((T0.LineTotal - T0.StockValue) / NULLIF(T0.StockValue, 0)) * 100, 0
Because it is possible for StockValue to be a zero (0) amount in our system it was necessary to add the NULLIF function.
If a NULL value is detected then a value of 0 is ultimately returned. Due to the fact that there could still be a profit or a loss in this column I needed to add 'N/A', which I achieved by casting the calculation to a varchar and then applying a CASE statement, the full syntax is as follows -
CAST(ISNULL(((T0.LineTotal - T0.StockValue) / NULLIF(T0.StockValue, 0)) * 100, 0) AS varchar) = '0.00000000000000' THEN 'N/A'
ELSE CAST(ISNULL(((T0.LineTotal - T0.StockValue) / NULLIF(T0.StockValue, 0)) * 100, 0) AS varchar) END
AS 'Profit / Loss %'
My challenge is that the % for profit has an excessive level of fidelity, it currently goes to 14 decimal places (e.g.: 134.43223443223443)!
I would like to limit the fidelity to 2 decimal places (e.g: 134.43). I have attempted to do this by 'double casting', first casting to a decimal then to a varchar (to allow for the 'N/A') -
CAST(CAST(ISNULL(((T0.LineTotal - T0.StockValue) / NULLIF(T0.StockValue, 0)) * 100, 0) AS decimal) AS varchar)
In this case the fidelity is not sufficient, and I lose all decimal places. If I stipulate the nature of the decimal place, e.g.: decimal(4,2), then I get an "arithmetic overflow" error.
How can I make my results either 'N/A' or a numeric result (with 2 decimal places)?
Any help will be greatly appreciated.
Kind Regards,
DavidHi David...
Check this
* Purpose: Lists the Sales History of Items by (user designated):
* Item Code (range) and / or
* Whs Code (range) and / or
* Industry Code and / or
* BP (Customer Code)
DECLARE @begItemCode nvarchar(20), @endItemCode nvarchar(20), @whsCode nvarchar(5), @indCode nvarchar(5), @custNo nvarchar(10)
SET @begItemCode = ''
IF @begItemCode = ''
SET @begItemCode = '00%'
SET @endItemCode = '' + 'Z'
IF @endItemCode = 'Z'
SET @endItemCode = 'ZZ%'
SET @whsCode = ''
IF @whsCode = ''
SET @whsCode = '%'
SET @indCode = ''
IF @indCode = ''
SET @indCode = '%'
SET @custNo = 'C000002'
IF @custNo = ''
SET @custNo = '%'
select tt.[Document Date],tt.[Document No.],tt.[Doc Type],tt.[Cust Code],tt.[Customer Name],tt.[Item Code],tt.[Item Description] ,
tt.whscode, tt.[Line Net],tt.[Line Cost],tt.[Itm Avg Cost] , tt.[Profit / Loss],
cast(round(tt.[Profit / Loss %],2,0) as decimal(18,2) ) as 'PL%',tt.[Vendor Name],tt.[Salesman Name] from (
SELECT
T1.DocDate AS 'Document Date'
, T1.DocNum AS 'Document No.'
, 'Invoice' AS 'Doc Type'
, T1.CardCode AS 'Cust Code'
, T1.CardName AS 'Customer Name'
, T0.ItemCode AS 'Item Code'
, T0.Dscription AS 'Item Description'
, T0.Quantity AS 'Ship Qty'
, T0.WhsCode
, T0.LineTotal AS 'Line Net'
, T0.StockValue AS 'Line Cost'
, T2.AvgPrice AS 'Itm Avg Cost'
, (T0.LineTotal - T0.StockValue) AS 'Profit / Loss'
, CASE WHEN
--ROUND(
CAST(ISNULL(((T0.LineTotal - T0.StockValue) / NULLIF(T0.StockValue, 0)) * 100, 0) AS varchar) = '0.00000000000000' THEN 'N/A'
ELSE CAST(ISNULL(((T0.LineTotal - T0.StockValue) / NULLIF(T0.StockValue, 0)) * 100, 0) AS varchar) END
AS 'Profit / Loss %'
, T4.CardName AS 'Vendor Name'
, T5.SlpName AS 'Salesman Name'
FROM dbo.INV1 T0
INNER JOIN dbo.OINV T1 ON T1.DocEntry = T0.DocEntry
INNER JOIN dbo.OITM T2 ON T2.ItemCode = T0.ItemCode
INNER JOIN dbo.ITM1 T3 ON T3.ItemCode = T0.ItemCode AND T3.PriceList = 1
INNER JOIN DBO.OCRD T4 ON T4.CardCode = T2.CardCode
INNER JOIN DBO.OSLP T5 ON T5.SlpCode = T1.SlpCode
WHERE T1.DocType = 'I' AND T2.OnHand > 0 AND T0.ItemCode >= @begItemCode AND T0.ItemCode <= @endItemCode AND T0.WhsCode LIKE @whsCode
AND T2.U_SCE_IN_Industry LIKE @indCode AND T1.CardCode LIKE @custNo
UNION ALL
SELECT
T10.DocDate AS 'Document Date'
, T10.DocNum AS 'Document No.'
, 'Credit' AS 'Doc Type'
, T10.CardCode AS 'Cust Code'
, T10.CardName AS 'Customer Name'
, T9.ItemCode AS 'Item Code'
, T9.Dscription AS 'Item Description'
, -1 * T9.Quantity AS 'Ship Qty'
, T9.WhsCode
, -1 * T9.LineTotal AS 'Line Net'
, -1 * T9.StockValue AS 'Line Cost'
, T11.AvgPrice AS 'Itm Avg Cost'
, -1 * (T9.LineTotal - T9.StockValue) AS 'Profit / Loss'
, CASE WHEN
CAST(ISNULL(((T9.LineTotal - T9.StockValue) / NULLIF(T9.StockValue, 0)) * -100, 0) AS varchar) = '0.00000000000000' THEN 'N/A'
--ELSE CAST(CAST(ISNULL(((T9.LineTotal - T9.StockValue) / NULLIF(T9.StockValue, 0)) * -100, 0) AS decimal) AS varchar) END
ELSE CAST(ISNULL(((T9.LineTotal - T9.StockValue) / NULLIF(T9.StockValue, 0)) * -100, 0) AS varchar) END
AS 'Profit / Loss %'
, T13.CardName AS 'Vendor Name'
, T14.SlpName AS 'Salesman Name'
FROM dbo.RIN1 T9
INNER JOIN dbo.ORIN T10 ON T10.DocEntry = T9.DocEntry
INNER JOIN dbo.OITM T11 ON T11.ItemCode = T9.ItemCode
INNER JOIN dbo.ITM1 T12 ON T12.ItemCode = T9.ItemCode AND T12.PriceList = 1
INNER JOIN DBO.OCRD T13 ON T13.CardCode = T11.CardCode
INNER JOIN DBO.OSLP T14 ON T14.SlpCode = T10.SlpCode
WHERE T10.DocType = 'I' AND T9.ItemCode >= @begItemCode AND T9.ItemCode <= @endItemCode AND T9.WhsCode LIKE @whsCode
AND T11.U_SCE_IN_Industry LIKE @indCode AND T10.CardCode LIKE @custNo
) as tt
Hope Helpful
Regards
Kennedy -
Decimal places display at the time of results recording
Dear All,
Please i faced one problem, At the time of results recoridngi/.e,
In my insp. plan i defined Quantitative specification as 70.0 with '1' decimal place in Qunatitative data. but after results recording it displaying one more decimal place excessi.e., as 70.00. How can i solve this problem, due to what this problem is occure. Please if any, solve its urgent.
Regards,
VijayaDear Vijaya,
While entering Inspection Characteristics.. There is a field called DecPlaces on the right. its the 24th field on the item table.
The field comes after
Method, Insp Method plant, Version, Sampling Procedure, Sample Unit of Measure, Base Sample Quantity, SPC Criterion, Modification Rule, Test Eqpmt, Test Equip Short Text, Par Sample, DecPlace, Unit of Measure, Target Value, Lower spec Lmt, Upper Spec Lmt... and so on...
Regards
Vijay
Maybe you are looking for
-
hi experts, i m an abaper ,i dnt have a functional consultant rt now.i have to develope a report on opening stock of raw materials on date wise basis..which table sud i use so that i can get the date wise opening stock or will i use some logic for th
-
Not able to copy files to HD even when plenty of space
Hello, please help! I need to work out how to transfer something back to my HD from an external HD. I temporarily transferred my APerture library (129 GB) to my external hd to create space while I tidied up my Itunes library, which is now tidy, whic
-
NEW Macbook Pro anti-glare screen choice
Hi, I did not see the NEW Macbook Pro anti-glare screen choice. Did Apple Stop offering the anti-glare screen option on the NEW 2013 Laptops? THANKS!! - Randy
-
Problem in uploading a file to BLOB column in ADF
Hi, I was trying to upload a file and storing into BLOB column in the DB. I was trying the exercise that was given in http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html85th sample application. When I was ru
-
HI Experts, I had run a consolidation package sucessfully. But the problem i am facing currently is that when i open my evdre and check the trial balance my group consolidation shows a difference i.e balance sheet does not get tally. The difference i