Android data view and operator subtraction

Discussions about creating CAPI applications to run on Android devices
Forum rules
New release: CSPro 8.0
Post Reply
Marc-Olivier Z
Posts: 16
Joined: September 30th, 2016, 12:48 pm

Android data view and operator subtraction

Post by Marc-Olivier Z »

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 3833 times
Marc-Olivier Z
Posts: 16
Joined: September 30th, 2016, 12:48 pm

Re: Android data view and operator subtraction

Post by Marc-Olivier Z »

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: 561
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: Android data view and operator subtraction

Post by aaronw »

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

Post by Marc-Olivier Z »

Thank you Aaronw for the
I will try
Post Reply