Unable to subtract 0.1 from a number more than ten times in a row without an inaccuracy of 0.0000000000001
I'm using a simple formula =SUM(D2-$B$2)
where D2 is 100 and $B$2 is 0.1
When I keep subtracting 0.1 from the last number there is a 0.0000000000001 error after 10 subtractions
100
99.90
99.80
99.70
99.60
99.50
99.40
99.30
99.20
99.10000000000010
99.00000000000010
98.90000000000010
I know that can round the number but I'm using the spreadsheet to generate cartesian coordinates for a machine and I need to use more than this many decimal places accurately.
I'm quite suprised numbers can't do this subtraction properly as my pocket calculator can manage no sweat.
At first I thought my file was corrupted but after trying several new files and reinstalling numbers the issue persists.
Andrew,
The floating point processor used by Numbers calculates15 significant digits, without regard to where the decimal point falls. There can be an "error" in the last digit. If that's a problem for your purposes, you'll either have to work around it by restructuring your calculation or by resorting to an app with a more powerful math engine. For simple things like invoices, we can use the ROUND function to overcome the issue. If you actually need that much precision, you're skating on ice that's too thin with this app.
Jerry
Similar Messages
-
dears,
I have a problem with iPhone is that I can replace it at points of sale in the U.S. because I bought from Saudi Arabia because the problem I think in the hard ware I do resoftware more than 3 times did not fix.
Network also always missing.
I am living in KS Wichita. I hope you help me pleas.
Regards.iPhone warranty is not international. You will have to return your
iPhone to Saudi Arabia for repair/replacement. Either take it back
yourself or send to friend/relative for them to take to Apple. Apple
will not accept international shipments for repair nor will Apple
ship repaired/replaced iPhones out of the country where the repair
was done. -
updating from 5.0 to 6.0, it keeps asking me to reboot windows to finish updating process, I have tried to reboot more than 5 times, still keep asking... Even click to uninstall, still ask me to reboot windows to finish updating process...Any help?
updating from 5.0 to 6.0, it keeps asking me to reboot windows to finish updating process, I have tried to reboot more than 5 times, still keep asking... Even click to uninstall, still ask me to reboot windows to finish updating process...Any help?
-
How to post GR from po more than one time?
i want to post goods receipt from PO more than one time even the quantity of PO have been totally receipted.
Hi Dear,
whats the problem in that if you have recieved 100 quantity all together, and want to post in break-ups then you can surely do that by changing the quantity in the GR, the system will each time suggest the remaining full quantity, you just need to change it.
Hope it helps.
Regards,
Yawar Khan -
My little children Majd entered the wrong passcode for more than 10 times, my iPhone automatically got reset all data was deleted. I managed to retrieve the contacts only but I'm unable to retrieve my SMS's and my photos???? Can you help me please ???
Hi,
Did you ever back up your phone on the computer?
Did you use photo stream at all?
May I suggest changing your passcode lock to a letters and numbers lock (if not all ready it will make your iphone more secure and a restore lock otion shouldent be needed). Then change your setting as well preventing restore after ten incorect passwords.
kc -
Ok, how do I subtract a percent from a number?
In Excel, this is easy. But numbers isn't doing it.
I want to take a number, say 2400, and subtract 6.9% from it without 1st using an additional cell to find out what 6.9% of 2400 is.
In excel, you just use: =2400-6.9%
But in numbers, this is giving a result of 2399.94
I know it's simple? Anyone know why Numbers handles percentages differently?Your formula is giving the correct answer, just not the answer to the question you are asking.
2400 - 6.9%*2400 = the result you want
also stated as
2400*(1-6.9%) = the result you want
EDIT: I saw Peter's post after I posted mine. Note that the 6.9 in his formula is not 6.9%, it is 6.9 (which is 100 times greater than 6.9%).
Message was edited by: Badunit -
Send email from SAP with more than one attachment
Hi all,
How can i send email with more than one attachment and different types of document(doc,pdf,etc.) from SAP to external?
Besr regards,
MunurHi,
I use :
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
the main problem with different attachemts is to genereate the packing_list.
the packing list is a kind of description of the data table... where ist the start of an image, end, size...
"Creation of the entry for the compressed attachment
objpack-transf_bin = 'X'. " it could be an image
objpack-head_num = lv_head_num_count . " inital 1 each att add 1
objpack-head_start = 1. " fix
objpack-body_start = gv_startnum. " table with attachments 1. line one
objpack-body_num = tab_lines. " how many lines are in the table of attachment
objpack-doc_size = tab_lines * 255. " size of the attachment...
objpack-doc_type = lv_typ . " 'JPG'.
objpack-obj_name = 'ATTACHMENT'.
objpack-obj_descr = lv_stripped_name " name of the JPG
APPEND objpack.
APPEND LINES OF lt_goscontent TO gt_maildata. " data Table...
bestreg
robert -
Unable to view image if the size is more than 3KB using XML Publisher.
Hello,
We are printing PO approver signature using xml publisher (rtf) on a pdf.
If the size of the image is 3KB or less, the image gets printed.
But, if the size is more than 3KB the image does not get printed.
Additional Info:
1. The signature is stored as jpg image in fnd_lobs table.
2. On following code is mentioned in the rtf
<fo:instream-foreign-object content-type="image/jpg">
<xsl:value-of select="IMG_SIGNATURE"/>
</fo:instream-foreign-object>
3. We are using the following function that converts BLOB to CLOB.
CREATE OR REPLACE FUNCTION XX_BLOBTOBASE64
b IN BLOB
RETURN CLOB
IS
sizeb PLS_INTEGER := 4080 ;
buffer RAW(4080);
offset PLS_INTEGER DEFAULT 1;
RESULT CLOB;
BEGIN
-- dbms_lob.createtemporary
-- lob_loc => RESULT
-- , cache => FALSE
-- , dur => dbms_lob.CALL
-- LOOP
-- BEGIN
-- dbms_lob.READ
-- ( lob_loc => b
-- , amount => sizeb
-- , offset => offset
-- , buffer => buffer
-- EXCEPTION
-- WHEN no_data_found
-- THEN
-- EXIT;
-- END;
-- offset := offset + sizeb;
-- dbms_lob.append
-- ( dest_lob => RESULT
-- , src_lob => to_clob(utl_raw.cast_to_varchar2(utl_encode.base64_encode(buffer)))
-- END LOOP;
DBMS_LOB.createtemporary(lob_loc => RESULT, CACHE => FALSE, dur => 0);
Wf_Mail_Util.EncodeBLOB ( b, RESULT );
RETURN RESULT;
END;
Requesting any of you to let us know if there is any method to resolve this issue.
Thanks,
Angelica.Hi,
Are you using Outlook.com to send/receive emails? Based on my research, we can only add an image/ picture in your e-mail signature that’s Web based (picture that is available in existing websites or stored in an online storage). See:
http://answers.microsoft.com/en-us/outlook_com/forum/osettings-oemailset/add-logo-to-outlookcom-signature/4455facf-0926-42a6-aad7-756de662a865
Since this forum is for general questions and feedback related to Outlook desktop application, if you are using Outlook.com, I'd recommend you post your question in the Outlook.com forum:
http://answers.microsoft.com/en-us/outlook_com/forum?tab=Threads
The reason why we recommend posting appropriately is you will get the most
qualified pool
of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
Steve Fan
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
How do I import pictures from computer files more than one at a time ?
I recieved the adobe photoshop elements 10 for x mas and no problems with downloading the program but i am having a time importing pictures from my computer files taken from various camaras. the problem is that i can only import pictures from my files 1 at a time. what do i do ? is there a specific tutoral i need to watch ? I know i'm doing something wrong i just don't know, please help Kev
Welcome to the forum.
You should be able to use the Shift, or Ctrl modifier keys, to select multiple files, and Import them.
Now, for Stills, I would strongly suggest that you Scale those Still Images to about the Frame Size of the Project, prior to Import.
Good luck,
Hunt -
Restrict the receipt of same serial number more than once
Hi,
I want to restrict the same serial number to be taken in the stock more than once..
Can somebody guide how to acheive this..
At the same time I have the indicator set of auto creation of serial numbers at the time of goods receipt in serial number profile.
e.g. I posted 2 material documents (101) one with material A and another with material B with the same serial number S
when I check the serial number S in transaction code IQ03, it is showing against 2 mat. codes. I dont want this scenario to occur.IN IQ03 , you have to put both the material number and serial number.
The serial number is tied to material number. Hence, different material number can have the same serial number. -
How to get data from large table (more than 9 million rows) by EJB?
I have a giant table, it has more than 9 million rows.
I want to use ejb finders method to get data from this table but always get not enough memory error or time out error,
Can anyone give me solutions?
ThxYour problem may be that you are simply trying to load so many objects (found by your finder) that you are exceeding available memory. For example if each object is 100 bytes and you try to load 1,000,000 objects thats 100Mb of memory gone.
You could try increasing the amount of memory available to OC4J with the appropriate argument on the command line (or in the 10gAS console). For example to make 1Gb available to OC4J you would add the argument:
-Xmx1000m
Of course you need have this available as hard memory on your server or you will incur serious swapping.
Chris -
Prevent user from resetting password more than once in a day
Hi,
1) my requirement is that, i want to prevent a user from resetting his password more than once in a day in OIM 11g.
i guess that has to be implemented using a pre-process event handler on reset password page.
is that achieveable? i dont have much idea on which places i can attach a pre-process event handler to.
2) I want to restrict a user from using sequential passwords. eg: abhi1, abhi2, abhi3
This is not present OOTB. just want to know. can we do it via custom code.? but this will expose that password (security breach- which i dont want)
is there any way i can achieve this via configurations in OIM or some event handler.?
Thanks in advance.1.yes, update "Minimum Password Age" to 1 for the password policy.
2. you can't achieve this by configuration. But, yes write an event handler and put your validation there. probably this is required on manual create or update so use pre-insert and pre-update eventhandler for validation.
--nayan -
How do i start my auto numbering from a different number. Although page one is page one in my document it is not page one in the whole file that I am submitting.
Menu > Insert > Section Break at end of 1st page
Move to 2nd page
Inspector > Layout > Section > Page Numbers > Start at: 1
Delete anything in the header /footer of the 1st page you don'y want (like the page number).
Peter -
How to display the date from callender for more than one date format items
i have one form which contains many date format items. i want to show the calendar and take the date from calendar.
i am successfully show the calendar and take the date from calendar for one date item.
my problem is i want to do same for all date format items in the form
can any one help me?
thanksMaybe you could provide more information.
What calendar ? what item works ? what other don't ?
is the issue in the different format masks ?
Please elaborate more your situation.
Francoisit is not the issue of different format masks.
i created a block which name is jbeanblock. in this block item is bean. bean has one trigger when_custom_item_event.
the code of this trigger is :
DECLARE
eventName varchar2(30) := :system.custom_item_event;
eventValues ParamList;
eventValueType number;
LC$Date varchar2(256);
LC$Day varchar2(256);
LC$Month varchar2(256);
LC$Year varchar2(256);
v_date date;
BEGIN
IF (eventName='CALENDAR_EVENT') THEN
eventValues := get_parameter_list(:system.custom_item_event_parameters);
get_parameter_attr(eventValues,'CALENDAR_EVENT_DATE',eventValueType, LC$Date);
get_parameter_attr(eventValues,'CALENDAR_EVENT_DAY',eventValueType, LC$Day);
get_parameter_attr(eventValues,'CALENDAR_EVENT_MONTH',eventValueType, LC$Month);
get_parameter_attr(eventValues,'CALENDAR_EVENT_YEAR',eventValueType, LC$Year);
Clear_Message;
select to_date(LC$Day||'/'||LC$Month||'/'||LC$Year,'dd/mm/yyyy') into v_date from dual;
:ds_employee.hiredate:=v_date;
synchronize ;
END IF;
END;
hiredate is the item of the ds_employee table. hiredate has trigger when_new_item_instance. The code is
Set_Custom_Property('JBEANBLOK.BEAN',1, 'SHOW_CALENDAR','50,50');
ds_employee is my table name. which has 2 date items. one is hiredate and another is date_of_birth.
for hiredate it is working. if i want to do same thing for date_of_birth also then how can we do? -
Can I stop my iMessages from going to more than one device
I have recently purchased an iPad and would like to know if I can stop my iMessages that I send off my iPad from going to my iPhone ... My iPad is set up to my email account and my iPhone to my phone number and I would like to use them separately so that my daughter can use the iPad to text and they won't keep coming to my phone.. Is this possible I have looked through many of the settings and have not been able to find anything... Any ideas?
If you want to turn them off, you need to go into Settings > Messages > iMessage = OFF. If you want your daughter to use a different device, you will need to set up a 2nd Apple ID and use that account to log in on the other device.
Maybe you are looking for
-
Crystal report (crystalReportsViewer) crash with null pointer exception
Hi, My application are simple : m_crystalReportsViewer.ViewerCore.ReportSource = report; but in throw exception null pointer when I call showDialog. I see in code, we have method ShowTabHeader. private void ShowTabHeader(bool isShow) Grid child =
-
2nd Gen iPod shuffle is not recognized by iTunes or computer
I read the other posts about people's 2nd Gen Ipod shuffles not being rcognized by iTunes or their computer, but none of them seemed to fit. I have had my iPod shuffle for less than a week. Last time I had my iPod connected to iTunes in the "Settings
-
My windows 7 laptop keeps on turning up a BSOD- help!
I have a Dell Inspiron n5110 with Windows 7 Ultimate Installed. I've had the laptop close to 2 years now. For the past week, it has been repeatedly turning up a blue screen with Kernel Data Inpage Error, code 0x0000007A. One or twice it has also turn
-
Getting following error when trying to download ebooks: E-AUTH-BAD-DEVICE-KEY-OR-PKCS12
I AM TRYING TO USE A GLOWLIGHT I JUST PURCHASED, BUT KEEP GETTING ERROR: E-AUTH-BAD-DEVICE-KEY-OR-PKCS12. Can you tell me what I need to do to correct this problem?
-
Problem installing java mail api1.4.1
i installed javamail api1.4.1 by unzipping and setting the classpath for activation(of JAF) and mail(of JavaMail API).. but when i compile a sample program(progname is msgsend) which already exists in the mainAPI directory, i get a message saying- ja