BaseName ( )

Function stats

Average user rating
34
125
9999
Support
FileMaker 7.0 +
Date posted
09 December 2008
Last updated
09 December 2008
Version
Recursive function
No

Author Info
 The Shadow

22 functions

Average Rating 4.3

author_avatar



 

Function overview

Prototype

BaseName  ( base )


Parameters

base  


Description

Provides base names in english, as part of a check-writing system, see ConvertMoneyToWords function.

Examples

Sample input

BaseName( 100 )


Sample output

hundred

 

Function code

Case ( base = 1; "<invalid>";
base = 100; "hundred";
base = 1000; "thousand";
base = 10^6; "million";
base = 10^9; "billion";
base = 10^12; "trillion";
base = 10^15; "quadrillion"
)

// ===================================
/*

    This function is published on FileMaker Custom Functions
    to check for updates and provide feedback and bug reports
    please visit http://www.fmfunctions.com/fid/125

    Prototype: BaseName( base )
    Function Author: The Shadow (http://www.fmfunctions.com/mid/34)
    Last updated: 09 December 2008
    Version: 1.1

*/
// ===================================