# Simple mathematical troubles

**URL:** <https://forum.kirupa.com/t/simple-mathematical-troubles/39383>\
**Category:** Uncategorized\
**Created:** [January 6, 2004, 8:38pm UTC](https://forum.kirupa.com/t/simple-mathematical-troubles/39383 "2004-01-06T20:38:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaelle](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@jaelle](https://forum.kirupa.com/u/jaelle)\
**Post date:** [January 6, 2004, 8:38pm UTC](https://forum.kirupa.com/t/simple-mathematical-troubles/39383/1 "2004-01-06T20:38:34Z")

</div>

I’m a bit rusty with my Flash skillz from not having touched Flash in quite a few months. So I have a very simple question.

I have a dynamic textbox represented by the variable “sidereal” with an initial value of 00.00, and I want it to continually increment by 0.38.

The code I have right now is:

```auto

onClipEvent(enterFrame) {
	_root.sidereal=sidereal+0.38;
}

```

But the output that gives me is “0.38” and it then doesn’t increment after that point. Also I would like it to say “00.38” if at all possible.

Thanks in advance for any help… Sorry to trouble you with such a nitpicky detail, but I seem to be having a braindead moment today. ☹
