On Thu, Jul 10, 2008 at 11:21 PM, Kent Johnson <[EMAIL PROTECTED]> wrote:
> On Thu, Jul 10, 2008 at 4:41 PM, Julia <[EMAIL PROTECTED]> wrote:
> > I've done this:
> >
> c = float
> c
> >
>
> This is not needed, Python variables do not have types (it is the
> values that have type).
>
>
On Thu, Jul 10, 2008 at 4:41 PM, Julia <[EMAIL PROTECTED]> wrote:
> I've done this:
>
c = float
c
>
This is not needed, Python variables do not have types (it is the
values that have type).
c = 3.3
c
> 3.2998
>
> I've done it with and without the c = float and sti
On 10-jul-2008, at 22:41, Julia wrote:
>>> c = 3.3
>>> c
3.2998
I've done it with and without the c = float and still it rounds the
number down. Why? And more importantly: is it possible to make
Python more accurate? I need the exact number and not something
close to it for
I've done this:
>>> c = float
>>> c
>>> c = 3.3
>>> c
3.2998
I've done it with and without the c = float and still it rounds the number
down. Why? And more importantly: is it possible to make Python more
accurate? I need the exact number and not something close to it for my new
appli