Filemaker custom function that returns the FileMaker version number.
Format
GetFMVersionNumber
Parameter
none
Data type returned
number
Description
The function is similar to the standard Get(ApplicationVersion) but returns only the number including the minor version number. This is useful for numeric comparators.
Example 1
Input:
GetFMVersionNumber
Output (under FileMaker Pro Advanced 9.0v3):
9.03
Example 2
Input:
GetFMVersionNumber
Output (under FileMaker Pro 10.0v1):
10.01
GetAsNumber ( Substitute ( Get ( ApplicationVersion ); "." ; Filter ( 1/2 ; ".," ) ) )