Схема
public mixed
format (
$value, $length_class_id, $decimal_point = '.', $thousand_point = ',' )
Аргументы
| Аргумент |
Возможный тип |
Описание |
| $value |
— |
— |
| $length_class_id |
— |
— |
| $decimal_point = '.' |
— |
— |
| $thousand_point = ' |
— |
— |
| ' |
— |
— |
Описание
Метод пока еще не документирован.
Исходный код
if (isset($this->lengths[$length_class_id])) {
return number_format($value, 2, $decimal_point, $thousand_point) . $this->lengths[$length_class_id]['unit'];
} else {
return number_format($value, 2, $decimal_point, $thousand_point);
}