Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Richard Chang
28
Views
4
Comments
Check Is Numeric
Question
Is there a function which can check if the text can be number?
For example:
In the database,
Field A
31224
Fruit
Apple
23541
I would like to show only data without number. So the output shoule be:
Field A
Fruit
Apple
Hermínio Mira
Hi Richard,
You have function to validate the content like this:
TextToDecimalValidate() or TextToIntegerValidate()
And then the corresponding ones to convert them:
TextToDecimal() or TextToInteger()
then if iterate through the records you collected from the database, or any other source, you should be able to filter them.
Hope it helps!
Hermínio Mira
J.
MVP
Or you do the filter directly on the query
RafaOutSystems
MVP
Hi Richard,
For performance reasons, filter directly on the query.
Regards,
Rafael Pereira
Hermínio Mira
Hi,
I was just trying to be generic, hence the " from the database, or any other source
". :)
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...