[mapserver-commits] r11973 - branches/branch-6-0/docs/en/mapfile trunk/docs/en/mapfile

svn at osgeo.org svn at osgeo.org
Wed Jul 27 18:48:27 EDT 2011


Author: havatv
Date: 2011-07-27 15:48:27 -0700 (Wed, 27 Jul 2011)
New Revision: 11973

Modified:
   branches/branch-6-0/docs/en/mapfile/expressions.txt
   trunk/docs/en/mapfile/expressions.txt
Log:
Expressions: Updated the expression document with the commify and tostring functions

Modified: branches/branch-6-0/docs/en/mapfile/expressions.txt
===================================================================
--- branches/branch-6-0/docs/en/mapfile/expressions.txt	2011-07-25 09:00:53 UTC (rev 11972)
+++ branches/branch-6-0/docs/en/mapfile/expressions.txt	2011-07-27 22:48:27 UTC (rev 11973)
@@ -398,14 +398,27 @@
    ... returns "String1String2", that is, the two strings concatenated
    to each other.
 
-String operations that return a number
+String functions that return a number
 ...............................................................................
 
 *  length ( "String1" )
 
    ... returns the number of characters of "String1"
 
+Functions that return a string
+...............................................................................
 
+*  tostring ( n1, "Format1" )
+
+   ... uses "Format1" to format the number n1 (C style formatting
+   - sprintf).
+
+*  commify ( "String1" )
+
+   ... adds thousands separators (commas) to a long number to make it
+   more readable
+
+
 Arithmetic expressions that return a logical value
 ...............................................................................
 

Modified: trunk/docs/en/mapfile/expressions.txt
===================================================================
--- trunk/docs/en/mapfile/expressions.txt	2011-07-25 09:00:53 UTC (rev 11972)
+++ trunk/docs/en/mapfile/expressions.txt	2011-07-27 22:48:27 UTC (rev 11973)
@@ -398,14 +398,27 @@
    ... returns "String1String2", that is, the two strings concatenated
    to each other.
 
-String operations that return a number
+String functions that return a number
 ...............................................................................
 
 *  length ( "String1" )
 
    ... returns the number of characters of "String1"
 
+Functions that return a string
+...............................................................................
 
+*  tostring ( n1, "Format1" )
+
+   ... uses "Format1" to format the number n1 (C style formatting
+   - sprintf).
+
+*  commify ( "String1" )
+
+   ... adds thousands separators (commas) to a long number to make it
+   more readable
+
+
 Arithmetic expressions that return a logical value
 ...............................................................................
 



More information about the mapserver-commits mailing list