Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Increase value of all numbers by fixed amount?

    Help wanted · · · – – – · · ·
    2
    2
    1494
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Owpi
      Owpi last edited by

      Hey, I have a document with a lot of decimal numbers all of which I want to increase by a certain, fixed amount. E.g.:

              <top y="333.6278728890073" x="1451.050664666312"/>
              <bottom y="4390.939329772518" x="1464.328232757782"/>
              <left y="2365.94191802627" x="339.7942031872444"/>
              <right y="2358.625284635257" x="2575.584694236849"/>
      

      Increased by, say, 5 to:

              <top y="338.6278728890073" x="1456.050664666312"/>
              <bottom y="4395.939329772518" x="1469.328232757782"/>
              <left y="2370.94191802627" x="344.7942031872444"/>
              <right y="2363.625284635257" x="2580.584694236849"/>
      

      Does anyone know how to go about this? Would it be possible using the Find and Replace function? Thanks for any help!

      Claudia Frank 1 Reply Last reply Reply Quote 0
      • Claudia Frank
        Claudia Frank @Owpi last edited by

        @Owpi

        I don’t think so, you better use a scripting language for such a task.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors