|
Bill |
Top Previous Next |
|
Examples > Bill
You should know the most essential operation elements of TETRA.
In this project sub-expressions of regular expressions are used. This will be possible in the future only in the standard and professional version of the TextTransformer.
Problem definition:
The sum of the positions of a bill shall be calculated. The amounts of the bill use a comma (German localization) to separate the fractional digits. There is nothing really new inside of the project, but it demonstrates a further kind of applications of the TextTransformer.
TETRA Program:
The project is at:
:\TextTransformer\Examples\Bill
This simple project uses actions immediately combined with tokens, where the texts of amounts are converted into the according numbers.
If the input contains numbers, which shall not be included in the total sum, e.g. subtotals, they either must be removed from the text before the execution of the program or you can limit the execution to marked sections of text.
|
|
This page belongs to the TextTransformer Documentation |
Home Content German |