Faking A LAF Slider To Show Percent Instead Of Actual Value?!
- 
 @iamlamprey Excellent, Thanks a lot, Will it give a try Now 
- 
 @iamlamprey said in Faking A LAF Slider To Show Percent Instead Of Actual Value?!: g.drawAlignedText(obj.valueNormalized * 100 + "%", obj.area, "centred"); Thanks Lam. 
 I Guess It need to Be Rounded, It Shows A Strange Number 21.4765%
- 
 @natan Engine.doubleToString()
- 
 @d-healey said in Faking A LAF Slider To Show Percent Instead Of Actual Value?!: Engine.doubleToString() Thank you sir, How to Add this to The Code? 
- 
 @natan Try it and see if you can work it out.  
- 
 @d-healey @iamlamprey Thank you Guys 
 I Found the Answerg.drawAlignedText(parseInt(obj.valueNormalized * 100) + "%", obj.area, "centred");I Remember That I Did this Mounths Ago, Once i switched to Develop Branch, 
 This Rounds The Numbers :)
- 
 @natan parseIntwon't always work the way you expect - but in this case it's fine.
- 
 @d-healey I Just Need The Numbers to Be In Percent, Nothing Fancy 
 Thank you Sir for Info <3 
- 
 @natan You can also use Math.round(), not sure which is the most efficient 
- 
 @iamlamprey Yeah I'll Check and See if That Works Or Not. 
 BTW This one works Just Fine
 g.drawAlignedText(parseInt(obj.valueNormalized * 100) + "%", obj.area, "centred");

