Browse Source

[php] extern for number_format (closes #10115)

Aleksandr Kuzmenko 4 years ago
parent
commit
ed37a1e111
1 changed files with 6 additions and 0 deletions
  1. 6 0
      std/php/Global.hx

+ 6 - 0
std/php/Global.hx

@@ -1838,4 +1838,10 @@ extern class Global {
 		@see http://php.net/manual/en/function.filter-var.php
 	**/
 	static function filter_var(value: Any, ?filter:Int, ?options: EitherType<NativeAssocArray<Dynamic>, Int>):Dynamic;
+
+	/**
+		@see http://php.net/manual/en/function.number-format.php
+	**/
+	static function number_format(num:Float, ?decimals:Int, ?decimal_separator:String, ?thousands_separator:String):String;
+
 }