# Percent

**URL:** <https://forum.kirupa.com/t/percent/12904>\
**Category:** Uncategorized\
**Created:** [February 6, 2003, 12:45am UTC](https://forum.kirupa.com/t/percent/12904 "2003-02-06T00:45:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![izhar](https://avatars.discourse-cdn.com/v4/letter/i/dfb087/32.png) [@izhar](https://forum.kirupa.com/u/izhar)\
**Post date:** [February 6, 2003, 12:45am UTC](https://forum.kirupa.com/t/percent/12904/1 "2003-02-06T00:45:09Z")

</div>

i have some problems with this script

percent = Math.floor,(getBy tesLoad()/getBy tesTotal()\*100);

the error with this script is

Scene=Scene 1, Layer=Layer 1, Frame=1: Line 1: ‘)’ expected  
percent = Math.floor,(getBy tesLoad())/(getBy tesTotal()\*100);

can anyone here help me with this…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 6, 2003, 12:51am UTC](https://forum.kirupa.com/t/percent/12904/2 "2003-02-06T00:51:16Z")

</div>

if you copied and pasted the script … then it’s wrong

try this:  
[color=red]Math.floor((getBytesLoad()/getBytesTotal())\*100)[/color]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 6, 2003, 1:01am UTC](https://forum.kirupa.com/t/percent/12904/3 "2003-02-06T01:01:05Z")

</div>

that was a great help…

thanks …’

i really appreciate it…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 6, 2003, 1:04am UTC](https://forum.kirupa.com/t/percent/12904/4 "2003-02-06T01:04:25Z")

</div>

no problem izhar =)
