JavaScript Editor Ajax toolkit     Ajax website 



Main Page

A literal number begins with a leading zero and has no decimal point, which indicates that it is an octal (base 8) literal. However, it also contains the digits 8 or 9, which are not octal. The compiler will interpret the number as a decimal (base 10) number.

To correct this error

  1. If the literal should be a decimal literal, remove the leading zero.

  2. If the literal should be an octal literal, make sure it uses only the digits zero through seven.

See Also

Concepts

Troubleshooting Your Scripts
Numeric Data

Other Resources

JScript Reference



JavaScript Editor Ajax toolkit     Ajax website


©