Brian Dunning's FileMaker Custom Functions

FormatNumber_Sub ( Number ; Counter ; ThousandSep )

Needs

  Average rating: 4.4 (30 votes) Log in to vote

SL   SL
ITC

Share on Facebook Share on Twitter

  Sample input:
Not significant without reading before the notes about "FormatNumber" function!
--- input ---
12345678.9
  Sample output:
1st step 876.
2nd step 876.543.
3rd step 876.543.21

the last string is returned back to "FormatNumber" function. (dot if it's the chosen thousand separator!)

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

This is a subfuntion functional to the main custom function "FormatNumber". It puts the chosen thousand separator into the INT part of the number passed by "FormatNumber".
Please note it returns an inverted string; so "FormatNumber" needs another function: "Reverse ( string )". I didn't upload it because You can find two similar functions in this website. Search for: "Reverse"

 

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.

Under construction. Email me your wish list for improvements.