Skip to content

[FIX]PluginGauge Resolving issue of giving wrong value to the gauge

axel mwenze requested to merge alexandre2908/tiki:gauge-resolve into master

Description

Updating the plugin gauge the gauge value params is giving wrong value because it was digit so if you want to calculate pourcentage 30% of 40 for example it should give you 77.5 but the plugin will give you 775

Steps to test

create a wiki page and add a plugin gauge within https://doc.tiki.org/PluginGauge try to pass a float value for example 16.5 and max of 100 with the old it will give you a black color meaning wrong value or a wrong calculation but with the new it should give the right calculation

Edited by axel mwenze

Merge request reports