← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 790172] Re: integers-values-do-not-allow-negative-numbers

 

Hi,
I guess this will work. Will need to try it out.

However, what about the issue of allowing entry of scientific notation, i.e.
2.12e3? This would seemed to be allowed with the current regex, but not sure
it is such a good idea, or if there is a clear use case for this?

What about positive integers? Negative Integers? This would seem to be more
useful than positive and negative numbers, which could include decimal
places. Is this a more compelling use case than positive and negative
integers?

Regards,
Jason


On Tue, May 31, 2011 at 7:17 AM, Thu Tran <790172@xxxxxxxxxxxxxxxxxx> wrote:

> ** Changed in: dhis2
>       Status: Confirmed => Fix Committed
>
> --
> You received this bug notification because you are a member of DHIS 2
> India Developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/790172
>
> Title:
>  integers-values-do-not-allow-negative-numbers
>
> Status in DHIS 2 - District Health Information Software:
>   Fix Committed
>
> Bug description:
>  Last time I checked, integers included both positive and negative
>  values with no decimal places. In our case, we need to enter a stock
>   loss (negative) or adjustments (positive). When I enter a negative
>   number (-1) after having set the type of the data element to integer I
>  receive the message that the number must be an integer, which it is.
>  :)
>
>  On Rev 3643.
>

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/790172

Title:
  integers-values-do-not-allow-negative-numbers

Status in DHIS 2 - District Health Information Software:
  Fix Committed

Bug description:
  Last time I checked, integers included both positive and negative
  values with no decimal places. In our case, we need to enter a stock
  loss (negative) or adjustments (positive). When I enter a negative
  number (-1) after having set the type of the data element to integer I
  receive the message that the number must be an integer, which it is.
  :)

  On Rev 3643.


References