Author: Gaev
Posted: Sun Apr 29, 2012 12:50 pm (GMT -7)
Topic Replies: 1
RickOShay:
| Quote: |
| A similar routine used to work in the previous version of Neobook – now I get weird problems. I saw somewhere that the Maths calc has changed in 5.7.1 So what am I doing wrong? I’ve tried many different methods and each time I get the wrong result. |
1) [P1TimeE] is returned in milliseconds … not seconds … so you have to divide it by 1000 first in order to get the number of elapsed seconds.
2) What is the reason for the first command … where you add 1 to [P1TimeE] ?
3) Why don’t you post your results here … start with [P1TimeE] and [P1TimeElapsed] … and if that does not give us a clue, may have to ask for the other variables as well.
Also, NeoBook would balk at this line …
| Code: |
| [b].add extra zero in display[/b] |
_________________
Gaev
http://www.scriptedlogic.com/