Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 975

Help: Rainmeter Skins • Leading Zeros

$
0
0
hello,

I know this has been asked before but how can i add a leading zero to this cpu meter to make it look like this "CPU 01%" without it displaying "CPU 015%" once it gets past two digits.

help would be much appreciated since i don't really know anything :confused: (i just copied all of this from the cpu section in the rainmeter handbook)

Code:

[Rainmeter]Update=1000AccurateText=1[MeasureCPU]Measure=CPU[MeterText]Meter=StringMeasureName=MeasureCPUFontFace=ConsolasFontSize=7.25AntiAlias=1X=5Y=5W=100H=35FontColor=255,153,0,255Text="CPU %1%"

Statistics: Posted by astrysm — Yesterday, 8:30 am — Replies 13 — Views 280



Viewing all articles
Browse latest Browse all 975

Trending Articles