Commit e1d67982 by sn

gewerbehof commits

1 parent f9705cb5
......@@ -40,6 +40,13 @@ class mcCsv {
}
public static function transformStringToCsv($param_string) {
if(strpos($param_string, '.')!==false) {
$param_string = str_replace('.', ',', $param_string);
}
return $param_string;
}
/**
*
* @param array $param_csvConfig -- array(0=>'col1',1=>'col2',2=>'col3')
......
<?php
class mcNumber {
public static function round2($param_number) {
return round($param_number, 2);
}
public static function form2($param_number) {
return number_format(round($param_number, 2), 2, ",", ".");
}
......
......@@ -26,7 +26,7 @@ if($_LOSP_DEV) {
}
if($__mc_D_LOGFILE) {
// D::li($__mc_D_LOGFILE);
// D::li($__mc_D_LOGFILE,1,1);
D::printToFile($__mc_D_LOGFILE,'a');
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!