>>>>> "Stephen" == Stephen D Cohen <[EMAIL PROTECTED]> writes:
Stephen> 3) How do I get sprintf or rtl_printf to format a floating
Stephen> point number for me? I'm getting tired of printing 1000
Stephen> times my float as a long and adding the decimal point in my
Stephen> head. Must be something simple (and stupid) that I am doing
Stephen> wrong.
You could send the data to a Linux thread (via a fifo) and have it
printed there in any form you like. Alternatively, sprintf the
integer, then do some string fiddling on the result to insert the
period, then print the resulting string...
paul
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/