Brian Dunning's FileMaker Custom Functions

IsNumber ( text )

Test the input to see if it is a valid number.

  Be the first to rate this function Log in to vote

Josh Ormond   Josh Ormond - Show more from this author
Iozax, LLC
http://iozax.com

  Sample input:
IsNumer ( "-" )
IsNumer ( "1999.00" )
IsNumer ( "abc123" )
IsNumer ( .5 )
  Sample output:
0
1
0
1

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Test the input to see if it is a valid number. Since `GetAsNumber ( )` and `ABS ( )` may transform the number to a slightly different format, they can't be solely relied upon for this test case.

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 22 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: