Skip to content
Jurek Muszyński edited this page Sep 16, 2019 · 3 revisions

char *AMT(double value)

Description

Converts value to formatted string with two decimal digits, considering current session's or request's language and country.

Returns

Pointer to the string.

Example

double total = items * price + delivery;
OUT("<p>Total: %s</p>", AMT(total));
Clone this wiki locally