CIF HTML-code generator error for real division with integer arguments
When trying to generate a HTML-file with the code generator, I get the following error message: `ERROR: Failed to evaluate the value of the SVG output mapping with id "West_BH_BedienNivelleermiddelen_PercentageActueel_Text" in SVG file "../../Simulation/UserInterface.svg". ` `CAUSE: Failed to evaluate algebraic variable "UserInterface.West.Bovenhoofd.Nivelleermiddelen.PercentageActueel". ` `CAUSE: double is not defined` It seems it cannot resolve the following line: `svgout id svgID_Sluis + svgID_Hoofd + "BedienNivelleermiddelen_" + "PercentageActueel_Text" text value fmt("%d%s", PercentageActueel,"%");` Where `PercentageActueel` is an algebraic integer: `alg int PercentageActueel = round((Hoofd.NivelleerLinks.NivEncoder.Schuifniveau + Hoofd.NivelleerRechts.NivEncoder.Schuifniveau)*10/2);` Somehow it goes wrong with the integer format specifier for %d. Since simulation in ESCET does work I think it has something to do with the HTML-code generator.
issue

Copyright © Eclipse Foundation AISBL. All rights reserved.     Privacy Policy | Terms of Use | Copyright Agent