On Apr 9, 8:26 am, David Smith wrote:
> AggieDan04 wrote:
> > On Apr 8, 12:08 pm, David Smith wrote:
> >> Avi wrote:
> >>> Hi,
> >>> This will be a very simple question to ask all the awesome programmers
> >>> here:
> >>> How can I get answer in in decimals for such a math operator:
> >>> 3/2
> >
AggieDan04 wrote:
> On Apr 8, 12:08 pm, David Smith wrote:
>> Avi wrote:
>>> Hi,
>>> This will be a very simple question to ask all the awesome programmers
>>> here:
>>> How can I get answer in in decimals for such a math operator:
>>> 3/2
>>> I get 1. I want to get 1.5
>>> Thanks in advance,
>>>
On Apr 9, 4:18 pm, AggieDan04 wrote:
> On Apr 8, 12:08 pm, David Smith wrote:
>
>
>
> > Avi wrote:
> > > Hi,
>
> > > This will be a very simple question to ask all the awesome programmers
> > > here:
>
> > > How can I get answer in in decimals for such a math operator:
>
> > > 3/2
>
> > > I get 1
On Apr 8, 12:08 pm, David Smith wrote:
> Avi wrote:
> > Hi,
>
> > This will be a very simple question to ask all the awesome programmers
> > here:
>
> > How can I get answer in in decimals for such a math operator:
>
> > 3/2
>
> > I get 1. I want to get 1.5
>
> > Thanks in advance,
> > Avi
>
> I'm
Avi wrote:
> Hi,
>
> This will be a very simple question to ask all the awesome programmers
> here:
>
> How can I get answer in in decimals for such a math operator:
>
> 3/2
>
> I get 1. I want to get 1.5
>
> Thanks in advance,
> Avi
I'm going to assume your operands are variables instead of
>
> In python2.6 and 3.x, the new behavior is standard.
Apparently that is nonsense - it seems to be not standard for 2.6. Which
Makes sense I guess.
Diez
--
http://mail.python.org/mailman/listinfo/python-list
Avi wrote:
> Hi,
>
> This will be a very simple question to ask all the awesome programmers
> here:
>
> How can I get answer in in decimals for such a math operator:
>
> 3/2
>
> I get 1. I want to get 1.5
You don't say which python-version you have. Depending on that, the answer
is different.
On Wed, Apr 8, 2009 at 9:03 AM, Avi wrote:
> Hi,
>
> This will be a very simple question to ask all the awesome programmers
> here:
>
> How can I get answer in in decimals for such a math operator:
>
> 3/2
>
> I get 1. I want to get 1.5
Add the following line to the top of your program (or use Py
Hi,
This will be a very simple question to ask all the awesome programmers
here:
How can I get answer in in decimals for such a math operator:
3/2
I get 1. I want to get 1.5
Thanks in advance,
Avi
--
http://mail.python.org/mailman/listinfo/python-list