Fixed GetPercentage when negative values