Path: csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Dr.UgoGagliardelli" Newsgroups: it.comp.java Subject: Re: importi giustificati a destra Date: Tue, 6 Oct 2015 07:15:30 +0200 Organization: Aioe.org NNTP Server Lines: 21 Message-ID: References: NNTP-Posting-Host: o+A5Qai+uOOCJdrsv5N6zA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com it.comp.java:8587 Il 05.10.2015 21.13, Delta11 ha scritto: > Il 05/10/2015 17.37, Gulp® ha scritto: >> Dovrei stampare incolonnando degli importi e destra. >> Come si fa a giustificare degli importi a destra? >> >> In visulbasic ricavavo la larghezza in mm della stringa di testo e la >> sottraevo alla coordinata x. >> In Java? >> > > in COBOL č tutto automatico > PIC 9999,99 in automatico i soli numeri li allinea a destra > PIC XXXXXX JUST RIGHT alfanumerico allineato a destra > > ti basta fare la MOVE. > > troppo facile! > Risposta da facilone. E se il font e' tipografico? In tal caso in COBOL non hai nessun modo.