3👍
✅
Try this:
if(parseInt(value) > 0)
versionStatusCtx.fillText(value, posX - w_offset, posY + h_offset);
}
parseInt(value)
parses the value to an int to compare to zero. Previously in the code the value joined a % symbol to the value making it a string.
Source:stackexchange.com