RE: printf() on decimals

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

--- Matt Lewis <matthewwalkerlewis at yahoo.com> wrote:

> Try this
> ? 9999999999999990 - 9999999999999990
> ? 9999999999999991 - 9999999999999990
> ? 9999999999999992 - 9999999999999990
> ? 9999999999999993 - 9999999999999990
> ? 9999999999999994 - 9999999999999990
> ? 9999999999999995 - 9999999999999990
> ? 9999999999999996 - 9999999999999990
> ? 9999999999999997 - 9999999999999990
> ? 9999999999999998 - 9999999999999990

Hmmm. If I try this with Ruby, I get:
0
1
2
3
4
5
6
7
8

So I guess if you're interested in greater accuracy,
then that's the way to go.

Irv

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

Search



Quick Links

User menu

Not signed in.

Misc Menu