PHP Classes


Recommend this page to a friend!
  Classes of Alex F. Bustos  >  SI Prefix Converter  >  >  Download  
Role: Configuration script
Content type: text/plain
Description: Default settings of the class
Class: SI Prefix Converter
Convert a number to a string appending a prefix
Author: By
Last change: 1.1 Version
Initial Files
Date: 5 years ago
Size: 619 bytes



Class file image Download
//List of constraints used by the class. Here you can modify the default values.
define ('sci_set','si_short'); //Default set.
define ('sci_ENG',1); //1 to enable ENG terms (exponents of only three multiples)
define ('sci_min',-12); //start from picos
define ('sci_max',12); //end on teras
define ('sci_base',10); //Decimal system. See the binary sets.
define ('sci_decimals',2); //Quantity in which will be rounded.
define ('sci_charset','UTF-8'); //Default charset
define ('sci_def_set',false);
//legacy: true - Use the default values from this file
    //new proyects: false - Use the default values from the LOP