shifting in decimals


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2006
    Posts
    747

    Default shifting in decimals

    .Is it possible to shift in decimals.

    I have this number 2540 and would like to shift it to get 540...
    the shifting I use just divides by power of 2, I cannot find an equivalent function in the pbp manual.
    besides the dig command

    k
    Last edited by Ioannis; - 16th November 2011 at 09:20. Reason: Corrected a spelling causing peculiar thoughts :)

  2. #2
    Join Date
    Jan 2009
    Location
    California, USA
    Posts
    323


    Did you find this post helpful? Yes | No

    Default Re: shifting in decimals

    Quote Originally Posted by lerameur View Post
    .Is it possible to shit in decimals.
    Sounds rather painful.



    I have this number 2540 and would like to shift it to get 540...
    the shifting I use just divides by power of 2, I cannot find an equivalent function in the pbp manual.
    besides the dig command
    How about modulus? (remainder)

    2540 // 1000 = 540

    2540 // 100 = 40

    2540 // 10 = 0

  3. #3
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default Re: shifting in decimals

    yes thats the command. NOW I remember. thank you...

  4. #4
    Join Date
    Nov 2007
    Location
    West Covina, CA
    Posts
    219


    Did you find this post helpful? Yes | No

    Default Re: shifting in decimals

    .Is it possible to shit in decimals.
    I would say yes if none were to follow, otherwise the product becomes a sum of the fractions. Good luck!

    Sorry, couldn't help it
    Louie

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts