IndianNotation ( number )
Returns a number formatted according to the Indian notation
Average rating: 4.7 (19 votes) Log in to vote
Daniele Raybaudi - Show more from this author
ACI http://www.aci.it |
IndianNotation ( 1000000000000 )
IndianNotation ( 1234567890127.413 )
10,00,00,00,00,000
12,34,56,78,90,127.413
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
This recursive custom function generates a number formatted according to the Indian notation that can be treated like any other number of the DB, including sorting.
It has no practical limitations because the mask is dynamically generated based on the length of the number.
It evaluates both positive and negative numbers, integers or decimal.
The decimal part is separated from the integer part by a dot, if we are in America, by a comma, if we are in Italy. ;-)
The calculated field must return a result of type number and must be formatted in Layout Mode "As entered", not "General".
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.