Professional Software Development for FileMaker®

FileMaker Business Alliance
FileMaker 8 Certified Developer
FileMaker 10 Certified Developer
SUI Solutions is an independent entity and this web site has not been authorized, sponsored, or otherwise approved by FileMaker, Inc.

New to FileMaker?

FileMaker 11

Learn about the most
incredible database now!

GetFMVersionNumber

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

Source code

Select all
GetAsNumber ( Substitute ( Get ( ApplicationVersion ); "." ; Filter ( 1/2 ; ".," ) ) )