🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #89

Re: converting Arabic numbers from String format to Number format

#89
From: Dave_Saunders
Date: Sun, 29 Mar 2009 13:23
7 lines
776 bytes
You might try:

pageNumber.charCodeAt(0);

in the JavaScript Console to see what character is actually there where the "1" appears to be.

Dave
Technical Details
Message-ID: <59b8718b.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
References: <59b8718b.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,e56a497d48c5d
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Dave_Saunders@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: converting Arabic numbers from String format to Number format
Message-ID: <59b8718b.0@webcrossing.la2eafNXanI>
Date: Sun, 29 Mar 2009 06:23:46 -0700
References: <59b8718b.-1@webcrossing.la2eafNXanI>
Lines: 8
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit