On Mon, Sep 19, 2011 at 1:42 PM, Morten Olav Hansen <[email protected]>wrote:
> Hi > > > I agree with these validation on field but why don't you apply the "Math > > methods" - which are in commons - into them. The "Math methods" are > working > > on regex that I think it is very very robust in validating. > > Ok, sounds good. What are they named? I never found any validations > for positive/negative numbers.. > > Yes, they are isRealNumber() which is including in positive/negative numbers, isNegativeInt(), and isPositiveInt(). > > Btw, the name of method "positive/negative_natural_number" is quite > > sensitive to me. > > The naming here is a bit off. I need suggestions here, even whole > numbers is not defined always mean the set of all integers. > > -- > Morten > About this you could also ask Jason for more suggestion. -- "*Expert By Chance*"
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

