🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: free.it.visual-basic
Article #1131

Re: Aiutino per favore

#1131
From: WebMasterPro
Date: Wed, 20 Oct 2004 06:53
28 lines
2026 bytes
Grazie 1000

Ho provato il codice da te suggeritomi ed ho chiarito i miei dubbi


"William" <willy78@libero.it> ha scritto nel messaggio 
news:GcVcd.159521$35.7802953@news4.tin.it...
>
>> Non capisco come mail in Label4.Caption non mi spuntano i decimali.
>> Negli altri label con le cifre in euro ci sono i decimali, ma nel label4
> che
>> � una semplice somma, spunta solo il numero intero. Come mai?
>> Spero qualcuno mi aiuti a risolvere questo problema.
>> E poi se non chiedo troppo come faccio a fare spuntare solo 2 cifre dopo
> la
>> virgola? Per i centsimi?
>> Certe volte mi spuntano cifre anche con 4 cifre decimali.
>> Questi 2 problemini mi stanno scoraggiando, spero mi aiutate
>> Grazie in anticipo a tutti coloro mi daranno una mano
>> Ciao e buona programmazione
>>
>>
>
> Per avere i decimali arrotondati alla seonda cifra decimale puoi scrivere
> cos�:
> Label4.Caption = CStr(Round(var1+var2+var3,2))
>
> 
Technical Details
Message-ID: <WXndd.48975$N45.1453934@twister2.libero.it>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.wiretrip.org!border2.nntp.ams.giganews.com!nntp.giganews.com!news-out.tin.it!news-in.tin.it!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail
References: <5HKcd.46310$H11.1620580@twister1.libero.it> <GcVcd.159521$35.7802953@news4.tin.it>

Show Full Headers
Complete Article Headers
X-Google-Thread: f94ee,bcfeea5931d06bee
X-Google-Attributes: gidf94ee,public
X-Google-Language: ITALIAN,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.wiretrip.org!border2.nntp.ams.giganews.com!nntp.giganews.com!news-out.tin.it!news-in.tin.it!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail
From: "WebMasterPro" <nospam@nospam.it>
Newsgroups: free.it.visual-basic
References: <5HKcd.46310$H11.1620580@twister1.libero.it> <GcVcd.159521$35.7802953@news4.tin.it>
Subject: Re: Aiutino per favore
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <WXndd.48975$N45.1453934@twister2.libero.it>
Date: Wed, 20 Oct 2004 06:53:42 GMT
NNTP-Posting-Host: 62.98.161.234
X-Complaints-To: abuse@inwind.it
X-Trace: twister2.libero.it 1098255222 62.98.161.234 (Wed, 20 Oct 2004 08:53:42 MET DST)
NNTP-Posting-Date: Wed, 20 Oct 2004 08:53:42 MET DST
Organization: [Infostrada]