BASE . LOG, 'file_id' => $LOG_FILE_ID, // add file date 'print_file_date' => true, // set debug and print flags 'debug_all' => $DEBUG_ALL ?? false, 'echo_all' => $ECHO_ALL ?? false, 'print_all' => $PRINT_ALL ?? false, ]); $_math = new CoreLibs\Convert\Math(); $math_class = 'CoreLibs\Convert\Math'; // define a list of from to color sets for conversion test print "TEST CLASS: MATH"; print ""; print '
Class Test Master
'; print "FCEIL: " . $_math->fceil(5.1234567890, 5) . "
"; print "FLOORP: " . $_math->floorp(5123456, -3) . "
"; print "FLOORP: " . $_math->floorp(5123456, -10) . "
"; print "INITNUMERIC: " . $_math->initNumeric('123') . "
"; print "S-FCEIL: " . $math_class::fceil(5.1234567890, 5) . "
"; print "S-FLOORP: " . $math_class::floorp(5123456, -3) . "
"; print "S-INITNUMERIC: " . $math_class::initNumeric(123) . "
"; print "S-INITNUMERIC: " . $math_class::initNumeric(123.456) . "
"; print "S-INITNUMERIC: " . $math_class::initNumeric('123') . "
"; print "S-INITNUMERIC: " . $math_class::initNumeric('123.456') . "
"; // error message print $log->printErrorMsg(); print ""; // __END__