atof........whats going on ?????

Discussion in 'AutoCAD' started by dmofull1, Oct 22, 2003.

  1. dmofull1

    dmofull1 Guest

    Command: (atof "3.5643254")
    3.56433

    Command: (atof "58798.22861277")
    58798.2


    Any help on this appreciated

    Thanx
     
    dmofull1, Oct 22, 2003
    #1
  2. dmofull1

    dmofull1 Guest

    anyone ??

    wondering why the value is being trimmed.

    I "need" 3 decimal places and Its not giving it to me

    Again, any help is appreciated

    Dave
     
    dmofull1, Oct 23, 2003
    #2
  3. Hi, it's internally stored in full precision. It's only displayed in
    this format. Can't give you the place in the documentation, but I read
    it there somewhere.
     
    Andreas Junghanß, Nov 10, 2003
    #3
  4. "Format" - "Units" - "Precision" set decimal places as required

    or, set it in your dimension dialog box
     
    Brian Spillane, Nov 11, 2003
    #4
  5. dmofull1

    dmofull1 Guest

    whoa .. I had given up on this one ;)

    Thanx guys

    I did some checking of the values and yes it does seem to have "internal"
    precision.

    again, thanx for the replies

    cya
     
    dmofull1, Nov 11, 2003
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.