# Trying to make a box rotate, getting error even after p5 check

**URL:** <https://discourse.processing.org/t/trying-to-make-a-box-rotate-getting-error-even-after-p5-check/10512>\
**Category:** Coding Questions\
**Created:** [April 21, 2019, 4:31am UTC](https://discourse.processing.org/t/trying-to-make-a-box-rotate-getting-error-even-after-p5-check/10512 "2019-04-21T04:31:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![octaminotin](https://avatars.discourse-cdn.com/v4/letter/o/f475e1/32.png) [@octaminotin](https://discourse.processing.org/u/octaminotin)\
**Post date:** [April 21, 2019, 4:31am UTC](https://discourse.processing.org/t/trying-to-make-a-box-rotate-getting-error-even-after-p5-check/10512/1 "2019-04-21T04:31:52Z")

</div>

Heres the error code:  
Uncaught SyntaxError: missing ) after argument list (sketch: line 10)  
Thats, "rotateX(framecount \* 01.0)

function setup() {  
createCanvas(400, 400);  
}

function draw() {  
background(0);  
noStroke();  
fill(100, 100, 100);  
rotateX(framecount \* 01.0)  
rotateY(framecount \* 01.0)  
box(45, 45, 45);

}

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [April 21, 2019, 4:55am UTC](https://discourse.processing.org/t/trying-to-make-a-box-rotate-getting-error-even-after-p5-check/10512/2 "2019-04-21T04:55:39Z")

</div>

hi, after 4 topics/ 9 posts it can be expected that you found the

```auto
</> code tag button in the editor

```

to PASTE your code into.

please repair above code posting!

* * *

a running version of your code would be

```auto
function setup() {
  createCanvas(400, 400,WEBGL);
}

function draw() {
  background(0);
  noStroke();
  fill(100, 100, 100);
  rotateX(frameCount * 0.10)
  rotateY(frameCount * 0.10)
  box(45, 45, 45);
}

```

* * *

your ERROR

> 0888 // 888 parsed as decimal  
> 0777 // parsed as octal in non-strict mode (511 in decimal)

> Note that decimal literals can start with a zero ( `0` ) followed by another decimal digit, but if every digit after the leading `0` is smaller than 8, the number gets parsed as an octal number.

so

```auto
01.

```

seems to be a big NO in javascript  
as octal numbers can not be floating point.
