In the GER, please implement embedded functions
DIV(real _operand, int _divisor) for integer division with truncation and
MOD(real _operand, int _moduloBy) for the modulo division.
In addition, please implement a scope attribute in the Counter element to have multiple counters running in parallel and for example be able to assign the same counter in the same record at 2 places.
My blog http://erconsult.eu/blog/electronic-reporting-er-cookbook/ documents my struggles with this regards.