# Prototype Slide Bar

**URL:** https://forum.kirupa.com/t/prototype-slide-bar/79040
**Category:** flash
**Created:** [February 10, 2005, 3:06am UTC](https://forum.kirupa.com/t/prototype-slide-bar/79040 "2005-02-10T03:06:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Flash\_Matic](https://avatars.discourse-cdn.com/v4/letter/f/bbce88/32.png) [@Flash\_Matic](https://forum.kirupa.com/u/Flash_Matic)
#### Post date: [February 10, 2005, 3:06am UTC](https://forum.kirupa.com/t/prototype-slide-bar/79040/1 "2005-02-10T03:06:05Z")

</div>

Ok, im making a prototype slide bar and i need the math for the percentage of the slider on the slide bar so that when the slider is all the way to the left on the bar it equals 0 and all the way to the left on the bar would be 100. if you could post the math id be greatful.

here is the form i want if it helps at all:  
var = Math.round(math);  
or have it round another way

thx  
Flash-matic
