scientific notation

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • masoud bayan

    #1

    scientific notation

    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


  • Mary Chipman

    #2
    Re: scientific notation

    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"
    <masoud_bayan@h otmail.com> wrote:
    [color=blue]
    >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
    >[/color]

    Comment

    Working...