title: How Do I Set a Long Integer Property in Gremlin JavaScript?
body: <p>** PROBLEM **</p>
  <p>I need to set a long integer value in a vertex from my JavaScript/TypeScript code.</p>
  <p>** WHY IS THIS AN ISSUE? **</p>
  <p>JavaScript stores <code>number</code> as a <code>double</code> in Java or C# world as we can see in the following example:</p>
  <pre><code>public static async experiment(): Promise&lt;any&gt; {
      const g = GremlinDb.g;
      await g.addV(&quot;test&quot;)
          .property(&quot;number&quot;, 3).iterate();
      return {};
  }
  </code></pre>