🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8630

Re: AS Cant make number into integer?

#8630
From: KEVINP1
Date: Sun, 01 Oct 2006 19:55
10 lines
1030 bytes
Thanks for your input Shane, very infomative.

Iv'e opted for my purposes to use the rounding, this works perfectly.

After further examination into my script I found I needed to add the rounding in a different place, it ended up going in here.

set _step to round (contents of text field "step" of _window as real)
		set myStep to round (contents of text field "pulllength" of _window as real)

Kev
Technical Details
Message-ID: <3bc1d19a.1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.albasani.net!news.isoc.lu!webcrossing
References: <3bc1d19a.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,252e4f6a361f8985
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: KEVINP1@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.albasani.net!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: AS  Cant make number into integer?
Message-ID: <3bc1d19a.1@webcrossing.la2eafNXanI>
Date: Sun, 1 Oct 2006 12:55:58 -0700
References: <3bc1d19a.-1@webcrossing.la2eafNXanI>
Lines: 12
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit