Skip to main content
Skip table of contents

Control characters for value objects

In some jobs of the EIBPORT it can assigns value objects. Therefore, it is necessary fill in control characters into the continuous text depending on the chosen EIS Value. At first the EIS Value must be parameterized. Values are placed between replacement characters β€œ%” (always without quotes) and β€œf” (to end the replacement characters string) within the text. With all numeric values the following format should be used:

CODE
%[Amount of integer digits. Amount of decimal digits]f

These replacement characters can be placed anywhere in the text.

Examples:

A floating-point digit should be displayed with five digits and two decimal places. Text entries:

CODE
β€œ ... Text %5.2f Text ...”

Should the prefix be shown in the text, the following entries must be done. Text entries:

CODE
β€œ ... Text -5.2f Text…”

Should be displayed the appropriate numbers of digits correctly in the text the following entries has to be done:

CODE
β€œ... Text %.1f Text…”

If a percent sign should be displayed in the text, the sign must be entered twice:

CODE
β€œThe tank is filled up %.1f%%.”

Or (without decimal places):

CODE
β€œThe tank is filled up %.0f%%.”

The following text is then be displayed:

CODE
β€œThe tank is filled up 82.3%.”

Is an EIS 3 or EIS 54 type value chosen, a β€œ%s” must be entered into the continuous text.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.