Android data view and operator subtraction

Discussions about creating CAPI applications to run on Android devices
Marc-Olivier Z
Posts: 16
Joined: September 30th, 2016, 12:48 pm

Android data view and operator subtraction

Postby Marc-Olivier Z » February 13th, 2018, 7:24 pm

Hello everyone
I'm going through a little matter on android
Here is my problem
I have three variables: Products, Inputs and Margins.
I set my app to calculate Margins = Products - Inputs
It can happen that Inputs should be higher than Product so that Margins should be negative. When this occurre no datas appears in the text box on my android. But there's no problem when I'm entering datas on my computer
Attachments
Screenshot_20180214-011908.png
Screenshot_20180214-011908.png (157.24 KiB) Viewed 579 times

Marc-Olivier Z
Posts: 16
Joined: September 30th, 2016, 12:48 pm

Re: Android data view and operator subtraction

Postby Marc-Olivier Z » February 13th, 2018, 7:37 pm

As you can see it look like the result of the calculation of the Margins (Marge Brute sur intrants realisés) appears in the menu on the left side and it appears with 2 negative signs (- -54800). But nothing appears in the texts box filed so I can't continue the datas entry with android in fact my variable Margins is numerical
How to solve the problem please

aaronw
Posts: 92
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: Android data view and operator subtraction

Postby aaronw » February 14th, 2018, 8:26 am

Turning on zero fill for numeric items will fix the issue. Also, this has been fixed in the current beta.

Marc-Olivier Z
Posts: 16
Joined: September 30th, 2016, 12:48 pm

Re: Android data view and operator subtraction

Postby Marc-Olivier Z » February 14th, 2018, 3:33 pm

Thank you Aaronw for the
I will try


Return to “Android”