By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,570 Members | 3,132 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,570 IT Pros & Developers. It's quick & easy.

scientific notation

P: n/a
I have some values in type of double such 0.00009 , 0.0000007, when I want
to show them in a text box and convert them to string they are changed to
scientific notation while I want to show them as they are.
I tried to use tostring("f") but it needs to have a precision number after
*f* which will cause always have fix number of characters (for example if
use f10 then 0.09 is converted to 0.09000000 while I need to show it as
0.09).
do you any suggestion of how I can convert such a numbers to string and show
them as they are not as scientific notation?

Thanks for any feedback
Jul 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Please do not post the same question in multiple newsgroups. Asked and
answered elsewhere.

--Mary

On Thu, 14 Oct 2004 14:45:28 -0400, "masoud bayan"
<ma**********@hotmail.com> wrote:
I have some values in type of double such 0.00009 , 0.0000007, when I want
to show them in a text box and convert them to string they are changed to
scientific notation while I want to show them as they are.
I tried to use tostring("f") but it needs to have a precision number after
*f* which will cause always have fix number of characters (for example if
use f10 then 0.09 is converted to 0.09000000 while I need to show it as
0.09).
do you any suggestion of how I can convert such a numbers to string and show
them as they are not as scientific notation?

Thanks for any feedback


Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.