×

Discussion Board

Search:

Type: Posts; User: innovated; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    9
    Views
    5,511

    Re: Type problem?

    Ok thanks, have just checked it and it looks like it uses . (dot)



    print locale.localeconv()['decimal_point']
    > .


    So hmm I don't know.
  2. Replies
    9
    Views
    5,511

    Re: Type problem?

    Problem gets more and more strange:



    tallat = 85.1212122
    tallong = 12.1212122
    print 'lat :%.7f'%tallat
    print 'long:%.7f'%tallong
    print "-------------------------"
  3. Replies
    9
    Views
    5,511

    Re: Type problem?

    Have also tried



    tal = 'test2%.7f'%55.1212122
    print 'test',tal


    still
    > 55..2121220
  4. Replies
    9
    Views
    5,511

    Re: Type problem?

    Hi again

    This causes the exact same problem


    tal = 55.1212122
    print 'test%f'%tal

    it prints
    > 55..212122
  5. Replies
    9
    Views
    5,511

    Re: Type problem?

    Hi Gaba88

    Have just edited the post with the code tag. So now it should be readable.

    I really hope someone can help me, I am about to go crazy :)
  6. Replies
    9
    Views
    5,511

    Type problem?

    Hi

    I am pretty new to developing to S60 in Python, and I have a strange problem with positioning. For latitude I get 55..87698742437 (with two dots), I think is should have been 55.687698742437,...
  7. Replies
    4
    Views
    4,980

    Re: Strange latitude

    Ok I do that, thanks for your replies though.
  8. Replies
    4
    Views
    4,980

    Re: Strange latitude

    Hi Mike

    Thank you for you quick reply.

    I get 55..87698742437, with two dots, and as far as I can see the last dot should have been a 6 as in 55.687698742437. Because jeg looked at google maps...
  9. Replies
    4
    Views
    4,980

    Strange latitude

    Hi

    I am pretty new to developing to S60 in Python, and I have a strange problem with positioning. For latitude I get 55..87698742437, I think is should have been 55.687698742437, longitude is ok....
Results 1 to 9 of 9
×