waves Posted February 23, 2023 Share Posted February 23, 2023 Would it be possible to modify the dgs/guiSetAlpha function to produce exactly the Alpha number? If I set alpha to 0.5, I get 0.50000989.The problem is solved by operatoms of course but it would be good to fix it. Link to comment
Fonz Posted February 23, 2023 Share Posted February 23, 2023 It is possible to modify the dgs/guiSetAlpha to produce an exact alpha value instead of the slightly imprecise value you are seeing, but doing so may have unintended consequences and require thorough testing... The issue is due to how computers store floating point numbers, which can result in small rounding errors. Link to comment
Recommended Posts