dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/System.Xml XmlConvert.cs,1.4,1.5


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/System.Xml XmlConvert.cs,1.4,1.5
Date: Tue, 15 Apr 2003 03:27:56 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/System.Xml
In directory subversions:/tmp/cvs-serv27699/System.Xml

Modified Files:
        XmlConvert.cs 
Log Message:


Mark up members of the "ExtendedNumerics" subset of ECMA with
CONFIG_EXTENDED_NUMERICS.


Index: XmlConvert.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Xml/XmlConvert.cs,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** XmlConvert.cs       14 Feb 2003 05:57:41 -0000      1.4
--- XmlConvert.cs       15 Apr 2003 07:27:53 -0000      1.5
***************
*** 418,421 ****
--- 418,422 ----
                        }
  
+ #if CONFIG_EXTENDED_NUMERICS
        // Convert a string to a decimal value.
        public static Decimal ToDecimal(String s)
***************
*** 447,450 ****
--- 448,452 ----
                                                                    
NumberFormatInfo.InvariantInfo);
                        }
+ #endif
  
        // Convert a string to an Int16 value.
***************
*** 512,515 ****
--- 514,518 ----
                        }
  
+ #if CONFIG_EXTENDED_NUMERICS
        // Convert a string to a single-precision value.
        public static float ToSingle(String s)
***************
*** 531,534 ****
--- 534,538 ----
                                                                    
NumberFormatInfo.InvariantInfo);
                        }
+ #endif
  
        // Convert a string to a TimeSpan value.
***************
*** 550,553 ****
--- 554,558 ----
                        }
  
+ #if CONFIG_EXTENDED_NUMERICS
        // Convert a decimal value into a string.
        public static String ToString(Decimal value)
***************
*** 555,558 ****
--- 560,564 ----
                                return value.ToString(null, 
NumberFormatInfo.InvariantInfo);
                        }
+ #endif
  
        // Convert a byte value into a string.
***************
*** 608,611 ****
--- 614,618 ----
                        }
  
+ #if CONFIG_EXTENDED_NUMERICS
        // Convert a single-precision value into a string.
        public static String ToString(float value)
***************
*** 635,638 ****
--- 642,646 ----
                                return value.ToString("R", 
NumberFormatInfo.InvariantInfo);
                        }
+ #endif
  
        // Convert a TimeSpan value into a string.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]