TW Math filters include round[], trunc[], ceil[], and floor[]... any of which can be used to remove the decimal part of a number
To retain given number of decimal places, you would first multiply by a power of 10 (to shift the decimal place to the right), then apply round[] (or any of the other similar filters), and then divide again by the same power of 10 to shift the decimal place back to its original position in the number. Thus:
<$vars v3={{{ [[$Gesamtpreis$]divide[$getankt$]multiply[1000]round[]divide[1000]] }}}>
will round the number to 3 decimal places.
enjoy,
-e