
Depending on the data type, you can format your task in different ways. You can use the following methods to do this:
page->write()
or
page->to_string()
The syntax for inserting it in a BSP is as follows:
<% page->write(mystring) %>
or
<%= page->to_string(mystring) %>
Possible additional parameters are the currency and the number of decimal places (for packed data types). You can also deflect the task in lower or uppercase letters.
The output format is determined by the user settings and cannot be changed (date formats, for example).
You can find the detailed syntax description in Interface IF_BSP_PAGE.