That's perfectly fine. Let me offer this plan of attack. Test if it is between -90 and +90 multiply by 1,000,000 into an INTEGER which chops all decimal digits to the right of the decimal point. then if you need float, divide by 1,000,000. But if you do that , don't be surprised for digits farther to the right of the 6th decimal point because it's float. -Fernando
---------- Original Message ----------- From: John Rose <john.aaron.r...@gmail.com> To: GambasUsers MailingList <gambas-user@lists.sourceforge.net> Sent: Mon, 13 Aug 2012 14:31:32 +0100 Subject: [Gambas-user] Check on entered number having more than 6 digits not working > Fernando, > The number of digits does matter. The use of this Gambas app is for > maintenance of a database which is used by an Android app that I'm > currently developing. I don't intend to discuss why the number of digits > matters to the Android app except to say that it does. Thus, the Gambas > app is required to do this validation. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user