NextLowerBase ( )

Function stats

Average user rating
34
126
9999
Support
FileMaker 7.0 +
Date posted
09 December 2008
Version
1
Recursive function
No

Author Info
 The Shadow

22 functions

Average Rating 4.3

author_avatar



 

Function overview

Prototype

NextLowerBase  ( base )


Parameters

base  


Description

Provide the next lower base for an English check-writing system, see ConvertMoneyToWords function.

Examples

Sample input

1000


Sample output

100

 

Function code

Case( base > 1000; Div(base;1000);
base = 1000; 100;
base = 100; 1
)

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

    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/126

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

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