Results 1 to 3 of 3

Thread: questions about fractions

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member
    Join Date
    Jun 2011
    Location
    Belgium Beveren
    Posts
    16
    Rep Power
    14

    questions about fractions

    hi,

    I have 2 questions
    1)
    I give JD a value off : 2436116.31
    If I print JD it gives the correct value
    but if i print the fraction it gives : .310000000055879354

    2)
    If i give F the value of the fraction of JD
    I expected it wil be .31
    but it is .310000000055879354
    if i do math with than i have a problem

    How can i avoid this ?

    kind regards
    Attached Files Attached Files

Similar Threads

  1. O2 - some basic questions
    By ReneMiner in forum O2 JIT Compiler / Assembler / Oxygen project
    Replies: 34
    Last Post: 13-08-2013, 11:11
  2. three questions
    By christianssen in forum thinBasic General
    Replies: 6
    Last Post: 10-03-2010, 11:12
  3. A few more questions..
    By oldpapa49 in forum thinBasic General
    Replies: 12
    Last Post: 21-03-2009, 21:45
  4. CGI Module questions
    By ShadowEO in forum CGI and FastCGI
    Replies: 3
    Last Post: 14-03-2009, 05:39
  5. DT questions
    By Dave in forum DT (Date module)
    Replies: 9
    Last Post: 16-04-2008, 09:48

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •