ScratchData LogoScratchData
Back to Paddle2SeeFixIt's profile

Exponential Notation Bug

PAPaddle2SeeFixIt•Created November 21, 2008
Exponential Notation Bug
1
0
133 views
View on Scratch

Description

A number is converted to exponential notation using the division operator. It is then stored in a list element, then moved into another variable. Applying the log operator to the original and the list-copied variable results in very different numbers (in Scratch only, you must download to see the problem). I think what is happening is that when the number gets stored in exponential notation in the list it gets interpreted as a text string by the list. Then, when the value is dumped back into a variable, it looks correct, but internally it is being stored as a text string. So when the the log operator is applied to it, only the numeric portion (before the "e") is being processed by the operator.

Project Details

Project ID327507
CreatedNovember 21, 2008
Last ModifiedNovember 21, 2008
SharedNovember 21, 2008
Visibilityvisible
CommentsAllowed