Brian Dunning's FileMaker Custom Functions

uNmbr_00ConvertToNativeNumberAndEvaluate__CF ( stringToTreat )

Converts the received string to a native number (file) and executes the mathematical operation

  Average rating: 3.0 (4 votes) Log in to vote

Sylvain Parent   Sylvain Parent
Jefo Logistique
www.jefo.com

Share on Facebook Share on Twitter

  Sample input:
uNmbr_00ConvertToNativeNumberAndEvaluate__CF ( "( (2+12)*3)/10,6" )
  Sample output:
3.9622641509433962

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

Converts the received string to a native number (file) and executes the mathematical operation.

The functions adapt to the native format of the FileMaker file. A point in the US a comma in Europe or Quebec.
The commas will be converted to a point if necessary. Points will be converted to comma if necessary.

 

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 15 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:

Under construction. Email me your wish list for improvements.