GetVersionAsNumber ( Version )
Rate this function: Average rating: 3.5 (4 votes) Discuss this Custom Function
Eilert Sundt, Eilert Sundt Systemdesign
http://www.eilert.no
Converts a software version number to a decimal number regardless of location
Sample Input:
| GetVersinAsNumber ( "10.456" ) |
|
Sample Output:
10,456 ( Norwegian system)
10.456 ( US system ) |
|
Description:
With FileMaker having made the jump to double-digit version numbers,
testing for the correct FM version has just got a bit more difficult
if you're outside of the US. In earlier versions, we could filter out
the numbers from the Application Version and read the leftmost digit
to get at the "main" version number, but that won't work anymore. So,
we would like to get the number portion of the Version string as a
true decimal number, which is what this CF does.
Note: these functions are not guaranteed
or supported by BrianDunning.com. Please contact the individual
developer with any questions or problems.
This is my Custom Function and I want to
edit it
Discuss:Make a comment about this Custom Function (please try to keep it brief & to the point). Anyone can post:
|
Newest Custom Functions:
| 1. |
GeoBox(latitude;longitude; radius) |
| |
(Mon, Mar 15, 11:04am) |
| 2. |
MonthNameList ( start; number; short ) |
| |
(Sun, Mar 14, 11:45pm) |
| 3. |
matchListAB( ListA ; ListB; match_Value; match_operator ; getN ) |
| |
(Sun, Mar 14, 10:29pm) |
| 4. |
Bin2Hex ( binary ) |
| |
(Sat, Mar 13, 10:08pm) |
| 5. |
SlideView (text) |
| |
(Sat, Mar 13, 8:40pm) |
| 6. |
HashFNV1a64 ( text ; empty ) |
| |
(Sat, Mar 13, 6:23pm) |
| 7. |
HashFNV1a32 ( text ; empty ) |
| |
(Sat, Mar 13, 5:55pm) |
| 8. |
XORbin( bin0 ; bin1 ; "" ) |
| |
(Sat, Mar 13, 4:35pm) |
 |
|
Would
Abs(Get ( ApplicationVersion ))
Do the same thing?
Rob, East Hampton , Ct
August 26, 2009 12:40pm