Product SiteDocumentation Site

5.4.13.3. init


>>-init(-+--------+-)----------------------------------><
         +-digits-+

Initializes a Numeric comparator to sort strings using numeric comparison rules using the comparator compare() method. If digits is specified, the comparisons will be performed using the provided precision. The default precision is 9.