You are reading a single comment by @DrAzzy and its replies. Click here to read the full conversation.
  • Aaah. Of course - no wonder it didn't work, I forgot a pair of parenthesis to do the float math before adding it onto the string.

    I wouldn't expect it to work, now that I see what I did. I think a better error message, like what Gordon implemented above, is all that's needed. "jsvGetString overflow" is a very unfriendly error (also - shouldn't this raise an exception? as opposed to returning undefined and printing a warning to console) - had I seen "String too big to convert to float" i'd have figured it out pretty quickly.

About

Avatar for DrAzzy @DrAzzy started