🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.delphi.bazy-danych
Article #70493

Re: DisplayFormat ",#0.00" w DBGrid - Delphi 2007

#70493
From: kN
Date: Mon, 30 Jul 2007 12:44
16 lines
1442 bytes
Użytkownik "Paweł Orchowski" <pawel.orchowski@wp.pl> napisał w wiadomości 
news:f89sjo$n47$1@atlantis.news.tpi.pl...
> Witam
>
> Po ustawieniu DisplayFormat = ,#0.00 dla kolumn z wartościami w DBGrid'zie 
> przy wartościach 0,10 pojawia się ,10 jak zrobić by było to 0 widoczne. W 
> Delphi 7 było dobrze.
>

#,##0.00 - tak masz to zero zawsze wyswietlane + odstep co trzy znaki czyli 
np.: 1 000 000,55

jak nie chcesz tego odstepu to: #0.00

Pozdrawiam 
Technical Details
Message-ID: <f8kmj6$7cc$1@atlantis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.internetia.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <f89sjo$n47$1@atlantis.news.tpi.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.internetia.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: "kN" <kN@yahoo.com>
Newsgroups: pl.comp.lang.delphi.bazy-danych
Subject: Re: DisplayFormat ",#0.00" w DBGrid - Delphi 2007
Date: Mon, 30 Jul 2007 14:44:24 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 17
Message-ID: <f8kmj6$7cc$1@atlantis.news.tpi.pl>
References: <f89sjo$n47$1@atlantis.news.tpi.pl>
NNTP-Posting-Host: pv131.kolporter.com.pl
Mime-Version: 1.0
X-Trace: atlantis.news.tpi.pl 1185799590 7564 212.244.76.131 (30 Jul 2007 12:46:30 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Mon, 30 Jul 2007 12:46:30 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit