include/Sugarpdf/SugarpdfHelper.php
Functions
format_number_sugarpdf(
$amount, $round
=
null, $decimals
=
null, $params
=
array()
)
:
StringCopy of format_number() from currency with fix for sugarpdf.
Parameters
Returns
Details
| Name | Type | Description |
|---|---|---|
| $amount | ||
| $round | ||
| $decimals | ||
| $params |
| Type | Description |
|---|---|
| String | formatted currency value |
- See
- \modules/Currencies/Currency.php
prepare_string(
$string
)
:
stringThis function prepare a string to be ready for the PDF printing.
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $string |
| Type | Description |
|---|---|
| string |