[ns] Passing floating point number from TCL to C++

Vathsala Devi ns2_mails at yahoo.com
Tue Jun 28 01:13:48 PDT 2005


Hi all,

Can someone tell me how can I pass a floating point
number from the TCL space to C++ space without loosing
the digits following the 'dot'?

I can't seem to achieve this because whenever I pass a
floatong point number to C++ from TCL, the digits
after the 'dot' automatically becomes zero.

Eg: 1.28695423 in TCL space becomes 1.00000000.

Can someone please help me urgently?...


Thank u very much...


Regards,
Vathsala

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the Ns-users mailing list