Hi, In the case you want to use MIG and a struct message you still can use floats, but then you can't use an nx_ network type but a regular one.
However, I guess you mean using the printf library, but I have no much experience with it. Cheers! Sergio On Thu, Jul 28, 2011 at 11:50 PM, Harsha Chenji <cjker...@gmail.com> wrote: > You mean in a nx_struct or something ? Because I don't think theres a > nx_float or double yet, might have to cast it to something else > > On Thu, Jul 28, 2011 at 12:28 PM, Geo Gkolfin <geo198...@gmail.com> wrote: > > Hello! > > A noob question: > > How do we print floats and doubles? I try "%f" and the character "f" is > > being printed instead of the float value! > > Help? > > Thanks in advance, > > Georgia > > _______________________________________________ > > Tinyos-help mailing list > > Tinyos-help@millennium.berkeley.edu > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > _______________________________________________ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help