Commit 9ebad4ac authored by Sylvain's avatar Sylvain

Doc - float_to_money

parent 07be116c
......@@ -25,6 +25,7 @@ Laravel 5.8 uses autoload files, so doesn't require you to manually add the Serv
- [csv_to_collection](#csv_to_collection)
- [array_to_string](#array_to_string)
- [string_to_float](#string_to_float)
- [float_to_money](#float_to_money)
**_Html_**
- [published_html](#published_html)
......@@ -126,6 +127,13 @@ $float = string_to_float('42.745');
// 42.745
```
### `float_to_money()`
La fonction `float_to_money` converti un flottant en nombre monétaire avec sigle €
```php
$money = float_to_money(1234.56);
// 1 234,56 €
```
#### `published_html()`
La fonction `published_html()` retourne le html correspondant à un état publié
```php
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment