Number to Text

Version 2

     

    Custom Function

     

    Compatibility
    Creator
    Mac OS X, Windows
    Todd Duell
    FMP 8, 8.5, 9, 10, 11
    Formulations Pro
    Web: No
    File Type: FP7
    Server: Yes
    FileSize: ~ .68 megabytes
    http://www.formulationspro.com

    Description

    Converting a number field to text loses the formatting for the commas, cents, and currency symbols. To retain the formatting when converting a number to text you can utilize the Custom Functions in FileMaker Pro Advanced to create your own formatting. The custom functions in this example will show you how to assemble three custom functions that will apply dynamic text formatting for scientific notation, currency, and numbers with unlimited digits on each side of a decimal point (within the inherent limitation of FileMaker Pro).

     


    Code
    See sample file

     

    Sample Input

    Sample Output


    Developer's Notes

    See sample file for full demo and technical article.

     


    FileMaker Inc. provides this content on an “As Is” basis, without any warranty, and subject to the terms of the FileMaker Technical Network Agreement. FileMaker makes no representations and is not liable for any content or related information. You may use the content as part of your own solutions and for your customers, but you may not otherwise publicly distribute any content that you did not submit. ©2009-2011 FileMaker, Inc. All Rights Reserved. FileMaker is a trademark of FileMaker, Inc. registered in the U.S. and other countries.