We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
ICICI Salami Slicing?

pthompson
Posts: 152 Forumite


Does anyone else have a strange balance on their account like this:
I know it's just a fraction of a penny, but I'm curious about where the rest of my £1 went to.
Am I just being paranoid, or have I uncovered a "salami slicing" scandal ( http://www.mnin.org/?page=salami&left=off )?
I've asked ICICI for comment, but am still waiting . . .
- Paul.
[HTML]Date Description Credit Debit Balance(GBP)
23/08/2005 TFR0123456789 99.00 - 99.9999999999991
09/08/2005 CHEQUE DEPOSIT 1.00 - 0.999999999999091[/HTML]
23/08/2005 TFR0123456789 99.00 - 99.9999999999991
09/08/2005 CHEQUE DEPOSIT 1.00 - 0.999999999999091[/HTML]
I know it's just a fraction of a penny, but I'm curious about where the rest of my £1 went to.
Am I just being paranoid, or have I uncovered a "salami slicing" scandal ( http://www.mnin.org/?page=salami&left=off )?
I've asked ICICI for comment, but am still waiting . . .
- Paul.
0
Comments
-
Computers don't store numbers with absolute precision (even numbers that you would think could be expressed precisely like 100.000000000, because computers work in binary not decimal), so you often find outputs from computers like this. 7 or 15 significant figures are common, and it looks like we've got 15 here - suggesting that they're using 64-bit floating point numbers. Usually the software is written properly enough to round to 2 decimal places before displaying to the user though!0
-
pthompson wrote:...I know it's just a fraction of a penny, but I'm curious about where the rest of my £1 went to...[HTML]Date Description Credit Debit Balance(GBP)
03/07/2005 TRANSFER 9.00 - 10.0000000000005
28/06/2005 CHEQUE DEPOSIT 1.00 - 1.00000000000045
[/HTML]0 -
Stonk wrote:Computers don't store numbers with absolute precision ... so you often find outputs from computers like this.
Your explanation sounds plausible, Stonk, but I still don't see why my £1 got stored differently to Masonic's (0.999999999999091 compared with 1.00000000000045).
Maybe his was a Scottish £1? ;-)0
This discussion has been closed.
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 351.8K Banking & Borrowing
- 253.4K Reduce Debt & Boost Income
- 454K Spending & Discounts
- 244.7K Work, Benefits & Business
- 600.2K Mortgages, Homes & Bills
- 177.3K Life & Family
- 258.4K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.2K Discuss & Feedback
- 37.6K Read-Only Boards