Series of know issues articles are showing known issue itself about Small Basic and it's workaround.

Table of Contents


Small Basic causes following "Value was either too large or too small for a Decimal"error in a program with Turtle.MoveTo operations that contain decimal fraction values such like below.  This issue can be reproduced with Small Basic 1.0 Desktop and above.

Turtle.MoveTo(60, 64.4)
Turtle.MoveTo(60, 91.7)


Use Math.Round operations to not use decimal fractions for Turtle.MoveTo operations.

Turtle.MoveTo(60, Math.Round(64.4))
Turtle.MoveTo(60, Math.Round(91.7))

See Also