Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Adding trailing zeros

    Hi,

    I would like to add two zeros at the end of the numbers. How do I go about this?

    Code:
    * Example generated by -dataex-. For more info, type help dataex
    clear
    input long LOPNR_PERSONID int BELOPP
    1 2971
    2 2537
    3 3485
    4 1800
    5 5628
    end

  • #2
    Originally posted by Tharshini Thangavelu View Post
    Hi,

    I would like to add two zeros at the end of the numbers. How do I go about this?

    Code:
    * Example generated by -dataex-. For more info, type help dataex
    clear
    input long LOPNR_PERSONID int BELOPP
    1 2971
    2 2537
    3 3485
    4 1800
    5 5628
    end
    That is without just multiplying by 100? Is there such solution?

    Comment


    • #3
      No, Stata formats do not allow this.

      Comment

      Working...
      X