Xtc format price()
Aus Wiki | xtcModified eCommerce Shopsoftware
[Bearbeiten] function xtc_format_price ($price_string,$price_special,$calculate_currencies,$show_currencies=1)
Formatiert vorgegebenen Preis gemäß Preisformatierunsangaben (Tabelle currencies)
| Parameter | ||
| $price_string | float | Preis |
| $price_special | bool | sollte immer "1" sein* |
| $calculate_currencies | bool | Wenn "1" wird $price_string mit Umrechnungsfaktor der akt. Währung multipliziert * |
| $show_currencies | bool, optional | Wenn "1" wird Ergebnis mit Währungssymbolen der aktulellen Währung versehen, default: "1" |
| Return | string | formatierter Preis |
'* Sinn: unbekannt

