FACER Community

Battery Meter that Ticks

I need help figuring out how to make a battery meter that ticks. IE: the marker falls on the hour. So like if the battery is at 75%, the marker would be on the 9, if it was at 50% it would be on the 6, etc… but would jump/tick to the next hour, not smooth rotate. Anyone know how this can be done?

1 Like

Solved my own question… LOL

((round((#BLN#*3.6)/30))*30)

1 Like

@geekm0nkey Sometimes you can use " floor " or " ceil "