Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Forcing a long to NOT be in scientific notation

 
Dale DeMott
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems as though when we are using the Date class and printing out the miniseconds that represents the current date, the javascript parsing engine is converting our number into scientific notation. (E Notation) Is there a way to prevent this from happening? Or if I must.. convert it back. It seems as though the Rhino javascript parsing engine (Netscape Javascript) used with JUnit is forcing this issue to happen. This doesn't happen just with the IE Javascript parsing engine though so don't test it with IE.

[ July 20, 2004: Message edited by: Dale DeMott ]
[ July 21, 2004: Message edited by: Dale DeMott ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic