瀏覽代碼

added missing UI::price

Piotr Labudda 9 年之前
父節點
當前提交
9d31169268
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      SE/se-lib/UI.php

+ 6 - 1
SE/se-lib/UI.php

@@ -154,7 +154,12 @@ class UI {
 	}
 
 	public static function jsAjaxTable($params) {
-		
+
+	}
+
+	public static function price($value) {
+		// TODO: if not number type - string wwith wrong format - try to convert?
+		return number_format($value, 2, ',', ' ');
 	}
 
 }