# Arithmetic error in Android App

**URL:** <https://community.investengine.com/t/arithmetic-error-in-android-app/3019>\
**Category:** General\
**Created:** [23 April 2026 08:56 UTC](https://community.investengine.com/t/arithmetic-error-in-android-app/3019 "2026-04-23T08:56:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![carlhr](https://dub1.discourse-cdn.com/flex017/user_avatar/community.investengine.com/carlhr/32/1941_2.png) [@carlhr](https://community.investengine.com/u/carlhr)\
**Post date:** [23 April 2026 08:56 UTC](https://community.investengine.com/t/arithmetic-error-in-android-app/3019/1 "2026-04-23T08:56:26Z")

</div>

Today, I added several trades to a portfolio. The displayed amount of cash left was 1p less than the figure that it should have been.

Basic example:

10,000.57  
-5000.55 trade  
App displays: 5,000.01 instead of 5,000.02

If the App were consistent in displaying numbers, it would give users more confidence in InvestEngine.

---

<div class="post-metadata">

**Author:** ![andy](https://dub1.discourse-cdn.com/flex017/user_avatar/community.investengine.com/andy/32/900_2.png) [@andy](https://community.investengine.com/u/andy)\
**Post date:** [3 May 2026 17:04 UTC](https://community.investengine.com/t/arithmetic-error-in-android-app/3019/2 "2026-05-03T17:04:44Z")

</div>

ha ha ha - I spent my professional life looking at things like this. Someone used a float when they should have used a numeric fixed point type, or they should have used the rounded displayed value in the calculation, or they should have displayed the missing decimal places so the maths looked right. Probably a simple fix, but I haven’t got access to the code. The important thing is which value did the actual execution platform use? The app should match that in all cases.
