[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
printing floats/integer
- Subject: printing floats/integer
- From: "Sean Heukels" <sean77=cuthere=(at)dds.nl>
- Date: Thu, 8 Mar 2001 14:34:00 +0100
- Newsgroups: comp.lang.idl-pvwave
- Organization: Academic Computer Centre Utrecht, (ACCU)
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:23882
I wrote a small module for integers. The variable is formatted and returned.
"1 " returns as "1"
Now this doesn't work with floats. for example if I want to print "1.22221"
I
dont want to see it as "1.222221000000000000000" or
"1.222222 "
Does anyone know how I can solve this ??
Greets Sean