ED round Up or Down
Dear All
The requirement is
For eg, if ED amount is Rs 100.49, then system should round down to Rs 100/-
If ED amount is Rs 100.51, then system should rond up to Rs 101/-.
Any clue, on how its acheived?
Thanking you.
Rgds
Sumanth.G
Hi,
What's ED..if you're talking about a cond type value then what you're talking is commercial rounding and in V/06 in your cond type definition..you can configure it to commercial rounding--pls check.
Regards,
Raghu.
Similar Messages
-
Hallo,
I´m looking for a function in DIAdem to always round up or down. I build myself some but they are old and slow... and they also work only almost perfect, some cases Just wont work right.
The aim is to round figures to 1/100, 5/100, 1/10, 5/10, to numbers, X mod 5 = 0, to x mod 10 = 0, to x mod 50 = 0 and so on.
I want to use it for scalling Report-Diagramms automatically, but with fixed and round scales - also for same scales of one meassurement in different Messures.
Therefor i need the funktion to Round Up always or in Minus Round down always.
If someone has a nice Solution for it i would be very thankfull.
Thanks already for ur surport.
STGI'm not sure I fully understand the question, but hopefully this helps:
Frac = Return decimal portion of a number
Trunc = Return Integer portion of a number
intMyResult = Frac(Pi) 'intMyResult = 0.14159265358979
intMyResult = Trunc(-75.5109) 'intMyResult = -75
So a combination of these could give you:
Always Round Up:
If Frac(Val) > 0 then MyResult = Trunc(Val) + 1
Example:
Var =Pi
If Frac(Var) > 0 then
MyResult = Trunc(Var) + 1
Else
MyResult = Var '4
end if
Always Round Down:
MyResult = Trunc(Val)
Example:
Var =Pi
MyResult =Trunc(Var) '3
You can also combine this with multiplying&dividing by 10/100/1000 to round to specific numbers of decimal places
Example:
Var =10.12345
Var = Var *100
Var =Trunc(Var)
Var = Var /100
MyResult = Var '10.12
-Josh
Engineering Technician
John Deere Power Systems -
Rounding difference in down payment for header condition
We have header condition, marked as "group condition" for traqnsport. But when doing down payment the system calculates incorrectly - for example I enter transport $600 at header level, but because the system calculates it at item level and due to rounding, in the 50% down payment invoice it shows - 300.02. Obviously when the customer receives down payment invoice that says pay 50% of some amount and the amount to be paid is not actually 50% it would be a problem. How could this be solved? We tried modifying the form, but as the it reads values from the system which are incorrect that didn't help.
Hello,
Please check the customizing:
Financial Accounting -> Accounts Receivable and Accounts Payable
-> Business Transactions -> Down Payment Received -> Define
Reconciliation Accounts for Customer Down Payments
Regards,
Raghavendra -
Frequency Control Word (PXI-5402): Rounded up or down?
A further question wrt PXI-5402 standard function generation.
The frequency control word is calculated by dividing the desired output frequency by the sample clock frequency (100MHz for a PXI-5402) and multiplying it by 2^N where 'N' is the width of the DDS accumulator (48 for the PXI-5402). As the frequency control word is an integer does any fractional residual result in the control word being rounded up or rounded down?
e.g. if a I request a frequency of 1Hz I get a control word of 2814749.767 which would give an actual output frequency of 0.99999997 Hz if rounding down or 1.00000008 Hz if rounding up.
Thanks.I believe the FCW gets rounded. I actually was able to find a LV demo for you, but it was made for the 5411. You would need to change some values to make it work for the 5402/5406: http://www.ni.com/example/28757/en/
Keep in mind that all of the DDS calculations are actually implemented in HW on an FPGA, see figure 2: http://www.ni.com/white-paper/5516/en/. The tuning word here is the same as the FCW. This image used to be used on that white paper before it was updated. The adder in Figure 2 is the same adder in this image below.
Also, as I have mentioned before, the accuracy for the Sample Clock above for the 5402 is 25ppm. If the actual frequency you are generating is such a concern, are you using an external high accuracy clock source? What is your application?
Product Support Engineer
National Instruments -
BED & AED Round up or down without decimal places
Dear Gurus,
My client wants BED & AED Round up to nearest value without Decimal places.
I am using taxinn procedure and JMOP for BED and JAOP for AED As a condition.
I tried to tick round up in condition , but it is not workig.
Please help.Hi,
In TAXINN T code : OBQ3 against ur condition in alternative calculation type (Calty ) column put 17.
At the same time OB90 against ur company code put 100.
Then ur problm will be resolved.
Biswajit -
Discoverer figures rounding up/down!!!
Hi,
I am running a report in discoverre which draws out employees FTE. These information when viewed in the background are decimal values.... But in discoverr they are being rounded up or down to whole numbers. How do I stop this please!!!
RegardsNot to worry. Have found that this is due to the formatting of the data. I have now formatted the worksheet to show data as it appears in database
-
How to round numbers to the nearest .25
I would like to enter a number in one field and have it rounded to the nearest .25 in another column - (whether that's rounding up or down)
Example:
Actual Size
Adjusted Size
7.21435
7.25
Any help would be appreciated.
Thanks!Hi c,
The ROUND function limits the precision choices to powers of 10, so we need to work within that limitation:
Multiply by four, round to the nearer whole number, divide by four.
Formula in column B: =ROUND(A*4,0)/4
All cells in B are formatted as Number, with decimal places set to 2.
Regards,
Barry -
assume variable a is 4.647 and i want to convert this to 4.5 . how can i round numbers like this. Is there is a predefined method in java to achive this.
I don't think java.lang.Math.round() will do what the original post asked for, since it rounds to the nearest long number. So you still would have to write your own method to round 4.647 down to 4.5.
-
Use of variable types and rounding...
I'm kinda confused on what variable types to use. I want it so that when I divide two numbers, it'll either round up or down, and give me a rounded number w/o a decimal.
Examples...
184/2683=7
164/2683=6
I have been fiddling with it for a while now, and I keep getting rounded down numbers, even if the decinal is more than .5. Thanks in advance!184 / 2683 = 0.068579947819604919865821841222512 -> 0.07
164 / 2683 = 0.061125605665300037271710771524413 -> 0.06
Use Math.rint (please read the javadocs...) and some scaling (multiply by 100.00, divide by 100.0 etc).
Beware - when printing your result could be:
0.070000000000001
or
0.069999999999998
instead of the expected value 0.07
for instance, due to the properties of floating-point arithmetic. If you want to round the number only for displaying it, use java.text.DecimalFormat or java.text.MessageFormat. -
Rounding up values in Print Layout Designer
The customer has a database field in print layout designer and this is bringing back a value such as 0.25. They would like to create another field which shows this value rounded up to the nearest whole number, ie in the case of 0.25 they would like to see 1.
They have created a formulae field and used the round function, however this rounds the value down to the nearest whole number as per the general rounding rule i.e. round it down if it is below .5 and up to the nearest whole number when it is above .5
Is there anyway to achieve this using Print Layout Designer in SAP Business One 2007 A?Hi Samantha,
Apologies for the delay.
Yes, its possible to do this. Firstly, you will need to use the fields from my earlier post. However you will also need to add some more formula fields
The first formula field will work out what the numbers are to the right of the decimal point:
DecimalRight(Field_101)
Field_101 in your case will be the field ID for the quantity field and the field ID for the above formula field will be Field_102.
The second formula field will work out if the quantity is a whole number, here the field id will be Field_103:
Field_102==' '
The third formula field will work out if the quantity is not a whole number, here the field id will be Field_104:
Field_102!=' '
You can now use the Link To functionality to link the original quantity rounded field to Field_103 and you can link the quantity plus 0.5 rounded field to Field_104.
Kind regards,
Adrian -
Rounding up the billing amount
Dear SAP Gurus and Experts,
Would like to seek for your assistant to kindly provide guide to configure the rounding up and down value in the billing amount where by
if the amount is $8.02, it will be shown as $8.00 and
if the amount is $8.06, it will be shown as $8.05, and
if it is $8.04, it will be shown as $8.05, and
if it is $8.08, it will be shown as $8.10
Thank you
Regards
Leonard TanHello,
DIFF Condition is to be inserted in the Pricing Procedure.
Search the forum with "DIFF Condition" & date range as All & you will get details steps to do the needful.
http://forums.sdn.sap.com/search.jspa?threadID=&q=Diff+COndition&objID=f246&dateRange=all&numResults=15&rankBy=10001
Hope this helps.
Thanks,
Jignesh Mehta
Edited by: Jignesh Mehta on Jan 17, 2012 3:50 PM -
Hi All,
my query as seen through the SAP Portal. when i look at the graph, X-axis, Count % values. Ideally these are whole number results, rounded up or down as appropriate, versus real numbers and the trailing decimal values.
when my query executed in BW that yields the values depicted for the Count %. Note the rounding that occurs in the query result (it reflects as 95%), yet the real value when highlighting the cell is 94.736842105%
but when i verify the cal key figure value property decimal option 0(Zero) set.
In the Formula i am using for Counto % = NDIV0 ( 'Instal Count' / 'Count' ) * 100
Any suggestions guyz
Thanks
DSTHi DST
If I have understood correctly you are not OK with real value when highlighting the cell is 94.736842105%-> It should be 95% . In this case it is because of excel cell properties are not set to rounding off. Right click on excel cell and go to it's properties (excel cell properties) and select the decimal notation to zero. Now you shouuld get the value in cell as 95%.
Regards
Pradip -
Round up value in purchase order
hi
based unit of material master is YD, the purchase unit is ROLL, the conversion is 1 ROLL = 3500 YD, if my requirement from sales order is 4000 yd, when i convert to PO, it should be 2 roll, but now, the qty is 1 roll, even i set the rounding profile for this material, pls advice
thanksHi Jo Jo
This can be done with Dynamic rounding profile for this u have to create UOM group and rounding rule first
Do following configuration
1) Create Rounding rule ( Unit of measure rounding rules )
Path
SPROMaterials ManagementPurchasingOrder Optimizing Quantity Optimizing and Allowed Logistics Units of Measure Unit of Measure Rounding Rules
here give new rounding rule and % rounding up and down values
2) Create Unit of measure groups
Path
SPROMaterials ManagementPurchasingOrder Optimizing Quantity Optimizing and Allowed Logistics Units of Measure Unit of Measure Groups
create new group for YD and ROL
3)Dynamic rounding profile
Path
SPROMaterials ManagementPurchasingOrder Optimizing Quantity Optimizing and Allowed Logistics Units of Measure Maintain Rounding Profile
Here give Rounding profile name and plant and click on Dynamic to create new profile
in next screen Give desc. For rounding profile , Rounding off method as 2, and Rounding rule which u have created
Assign created Rounding profile in info record also UOM group
maintain minimum order qty as 1 Rol and Order unit as ROL in Info record
In material master maintain conversion as 1Rol=3500 yards
I hope this will solve ur prob.
Vishal... -
Hello,
Can anyone solve my problem relating to rounding the tax amount ?
If TDS amount is either 145.20 or 145.80, i want to make it 146 only.
Please show me the solution for the above problem.
Waiting,
SANJAY DARJIHi,
1. SPRO/FA/****/WT/EWT/CALCULATION/DEFINE WHTAX TYPE/DEFINE WHTAX TYPE
FOR INVOICE POSTING.
ROUNDING RULES
OPTIONS : WHTAX COMM.ROUNDING
ROUND WHTAX AMOUNT UP
ROUND WHTAX AMOUNT DOWN
Here i have definded ROUND WHTAX AMOUNT UP
2. DEFINE ROUNDING RULES FOR WHTAX TYPES.
UNIT YOU HAVE TO MAINTAIN 100.
I have already maintain that unit in 100.
Still system is deducting exact amount
Thanks for your support,
SANJAY DARJI -
AFS Purchase Order Unit Rounding
We are implementing SAP AFS system in our garment manufacturing divison. We are facing a problem with rounding in Purhcase Order for Thread. The Base Unit for Thread is M, and the Order Unit is Roll. 1 Roll = 3500 M. When we have a PR for 4000 M, we would like the system to convert to 2 Rolls (always roundup in SKU level).
We used the MRP 1 rounding profile, but it seems to only round up at the material level not the SKU. Pls give us any suggestion.Hi Calvin,
Hope you are using IS-R Solution along with AFS!!
You can use Unit of Measure Rounding Rules in Customization using following path;
IMG - Logistics General - Quantity Optimizing and Allowed Logistics Units of Measure - Unit of Measure Rounding Rules
The fields, % Rounding Up or % Rounding Down, indicate the percentages from which the system has to automatically round up or down to complete Logistic UoM. A percentage of 30 for % rounding up means that the system should always round up, when the quantity is 30% or more, to a multiple complete Logistic UoM. A percentage of 30 for % rounding down means that the system should always round down, when the quantity is 30% or less, to a multiple complete Logistic UoM.
After this, you have to "Maintain Rounding Profiles" using following path;
IMG - Logistics General - Quantity Optimizing and Allowed Logistics Units of Measure - Maintain Rounding Profile
After creation, you have to maintain same profle in your Article / Material master.
Hope this information will be useful.
Bye,
Muralidhara
Maybe you are looking for
-
How can i check messages sent to device through my Verizon account online? i want to open the messages and see the contents.
-
Videos, Potcasts, etc play, but image is gone/distorted
Hi, I've got a weird issue related to iTunes and all video-related items (Movies, Podcasts, Episodes, etc). When I start to play any video item, I get the sound perfectly fine, but the video that shows is nothing more than a blank screen that rotates
-
How can I read or convert rlv-files on a Mac?
-
dear all, Am installing 11gr2 on solaris 10 update 6. We are planning to have ASM also. So I created 3 users oraasm-ASM OWNER oracrs-clusterware owner oracle-oracle database owner. Now the question is : Do I have to configure SSH for all the 3 users
-
Cisco EEM 2.1 applet monitoring question
I need assistance in configuring an eem applet using an 1841 router running IOS version 12.4(3c) and eem version 2.1. I need the applet to monitor multiple interfaces with condition if all interfaces are down for 15 seconds to execute a clear line 3.