Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > it.comp.java > #8585

Re: importi giustificati a destra

Path csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Delta11 <delta11NSP@email.it>
Newsgroups it.comp.java
Subject Re: importi giustificati a destra
Date Mon, 5 Oct 2015 21:13:27 +0200
Organization A noiseless patient Spider
Lines 24
Message-ID <muui0r$pj7$1@dont-email.me> (permalink)
References <muu5lr$s1h$1@speranza.aioe.org>
Mime-Version 1.0
Content-Type text/plain; charset=iso-8859-15; format=flowed
Content-Transfer-Encoding 8bit
Injection-Date Mon, 5 Oct 2015 19:11:23 +0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="8fe3ff16fa1326ff7f33030f591b69b1"; logging-data="26215"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+0mIn2hQ8BpOeqfsjKsGYB"
User-Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
In-Reply-To <muu5lr$s1h$1@speranza.aioe.org>
Cancel-Lock sha1:jcIjTtyA5jgczTwhW9XCuep57+Q=
Xref csiph.com it.comp.java:8585

Show key headers only | View raw


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!

-- 
(..) la rivoluzione non è un pranzo di gala, non è una festa letteraria, 
non è un disegno o un ricamo; non si può
fare con tanta eleganza, con tanta serenità e delicatezza, con tanta 
grazia e cortesia. La rivoluzione è un atto
di violenza, è l'azione implacabile di una classe che abbatte il potere 
di un'altra classe. (Mao Tze-tung)

Back to it.comp.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

importi giustificati a destra Gulp® <gulp@hotmail.it> - 2015-10-05 17:37 +0200
  Re: importi giustificati a destra 4ndre4 <a.laforgia@gmail.com> - 2015-10-05 08:49 -0700
    Re: importi giustificati a destra Gulp® <gulp@hotmail.it> - 2015-10-05 17:57 +0200
  Re: importi giustificati a destra "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2015-10-05 18:46 +0200
    Re: importi giustificati a destra Gulp® <gulp@hotmail.it> - 2015-10-05 18:59 +0200
      Re: importi giustificati a destra 4ndre4 <a.laforgia@gmail.com> - 2015-10-05 10:36 -0700
        Re: importi giustificati a destra Gulp® <gulp@hotmail.it> - 2015-10-05 20:46 +0200
      Re: importi giustificati a destra "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2015-10-05 19:54 +0200
        Re: importi giustificati a destra Gulp® <gulp@hotmail.it> - 2015-10-05 20:36 +0200
          Re: importi giustificati a destra "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2015-10-06 06:57 +0200
        Re: importi giustificati a destra Gulp® <gulp@hotmail.it> - 2015-10-05 20:44 +0200
  Re: importi giustificati a destra Delta11 <delta11NSP@email.it> - 2015-10-05 21:13 +0200
    Re: importi giustificati a destra "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2015-10-06 07:15 +0200
      Re: importi giustificati a destra Delta11 <delta11NSP@email.it> - 2015-10-06 09:09 +0200
        Re: importi giustificati a destra "Dr.UgoGagliardelli" <do.not.spam@me.please> - 2015-10-06 17:00 +0200
        Re: importi giustificati a destra 4ndre4 <a.laforgia@gmail.com> - 2015-10-06 08:50 -0700

csiph-web