In SX Microcontrollers, SX/B Compiler and SX-Key Tool, joegrand wrote: Thanks Bean! Those routines are perfect and will come in handy for some other functions, as well. :) The function you posted should work well with a string up to "6553.5", which would give us $FFFF. Now, this may be too much to ask (as you've already solved my initial problem), but if I had the string "99999.9", the maximum possible in the field I'm receiving, that would require a three-byte value: $F423F (well, $0F423F). I suppose I'd need to put together routines that work with LONG variables (32-bit) now instead of WORD. Could I somehow make use of your 16-bit functions? Joe ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=108690#m108696 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)