You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@velocity.apache.org by cb...@apache.org on 2010/04/10 12:07:53 UTC

svn commit: r932685 - /velocity/tools/trunk/examples/showcase/math.vm

Author: cbrisson
Date: Sat Apr 10 10:07:53 2010
New Revision: 932685

URL: http://svn.apache.org/viewvc?rev=932685&view=rev
Log:
fix some typos in the showcase webapp

Modified:
    velocity/tools/trunk/examples/showcase/math.vm

Modified: velocity/tools/trunk/examples/showcase/math.vm
URL: http://svn.apache.org/viewvc/velocity/tools/trunk/examples/showcase/math.vm?rev=932685&r1=932684&r2=932685&view=diff
==============================================================================
--- velocity/tools/trunk/examples/showcase/math.vm (original)
+++ velocity/tools/trunk/examples/showcase/math.vm Sat Apr 10 10:07:53 2010
@@ -59,7 +59,7 @@ $demo.thisPage.insert("#doclink( 'MathTo
 #demo1( 'math' 'floor' 3 $desc)
 
 #set( $desc = 'Returns the given number rounded to the nearest whole Integer or <code>null</code> if it is invalid.' )
-#demo1( 'math' 'found' 3 $desc)
+#demo1( 'math' 'round' 3 $desc)
 
 #set( $desc = "Rounds a number to the specified number of decimal places. This is particulary useful for simple display formatting. If you want to round an number to the nearest integer, it is better to use ${esc.d}math.round(), as that will return an Integer rather than a Double." )
 #demo2( 'math' 'roundTo' 2 $desc )