Re: Sequence question

new topic     » goto parent     » topic index » view thread      » older message » newer message
mindwalker said...

I'm not completely remembering the details but ... when you print the value or ... something defaults you to 8 decimal points of accuracy (at least it did in version 3.0). There is a way to tell euphoria you want more accuracy, but I forget how.

Sounds like you are thinking of

atom i 
    i=2/3 
    ?i 
    printf(1,"%f\n",i) 
    printf(1,"%0.15f\n",i) 

which displays

0.6666666667 
0.666667 
0.666666666666667 

HTH, Pete

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu