Author: miguel
Date: 2006-11-26 23:26:46 -0500 (Sun, 26 Nov 2006)
New Revision: 68494

Modified:
   trunk/mcs/class/corlib/System/ChangeLog
   trunk/mcs/class/corlib/System/Math.cs
Log:
2006-11-26  Miguel de Icaza  <[EMAIL PROTECTED]>

        * Math.cs: Add Floor(Decimal d), for CreativeDocs.NET.

        Go Moma!  http://www.mono-project.com/Moma



Modified: trunk/mcs/class/corlib/System/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/System/ChangeLog     2006-11-27 04:21:10 UTC (rev 
68493)
+++ trunk/mcs/class/corlib/System/ChangeLog     2006-11-27 04:26:46 UTC (rev 
68494)
@@ -1,7 +1,13 @@
 2006-11-26  Miguel de Icaza  <[EMAIL PROTECTED]>
 
+       * Math.cs: Add Floor(Decimal d), for CreativeDocs.NET.
+
+       Go Moma!  http://www.mono-project.com/Moma
+
        * Decimal.cs: Refactor code to implement TryParse.
 
+       Also, avoid initializing messages on every call to stripStyles
+
 2006-11-22  Miguel de Icaza  <[EMAIL PROTECTED]>
 
        * DateTime.cs: A small performance hit, we store the actual time

Modified: trunk/mcs/class/corlib/System/Math.cs
===================================================================
--- trunk/mcs/class/corlib/System/Math.cs       2006-11-27 04:21:10 UTC (rev 
68493)
+++ trunk/mcs/class/corlib/System/Math.cs       2006-11-27 04:26:46 UTC (rev 
68494)
@@ -436,6 +436,11 @@
                {
                        return Decimal.Truncate (d);
                }
+
+               public static decimal Floor (Decimal d)
+               {
+                       return Decimal.Floor (d);
+               }
 #endif
 
                public static int Sign (decimal value)

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to