Re: Formatting number with two decimal places
From: Armin Zingler (az.nospam_at_freenet.de)
Date: 04/18/04
- Next message: anonymous_at_discussions.microsoft.com: "Re: Toolbar Events"
- Previous message: Armin Zingler: "Re: Allow Null"
- In reply to: Sandy: "Formatting number with two decimal places"
- Next in thread: Sandy: "Re: Formatting number with two decimal places"
- Reply: Sandy: "Re: Formatting number with two decimal places"
- Reply: Sandy: "Re: Formatting number with two decimal places"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 18 Apr 2004 02:49:11 +0200
"Sandy" <anonymous@discussions.microsoft.com> schrieb
>
> I need to have a value display in a label with two decimal places;
> e.g. "4" to display as "4.00"
dim d as decimal
dim s as string
d = 4
s = d.tostring("0.00")
I assume you store numeric values in numeric variables.
-- Armin How to quote and why: http://www.plig.net/nnq/nquote.html http://www.netmeister.org/news/learn2quote.html
- Next message: anonymous_at_discussions.microsoft.com: "Re: Toolbar Events"
- Previous message: Armin Zingler: "Re: Allow Null"
- In reply to: Sandy: "Formatting number with two decimal places"
- Next in thread: Sandy: "Re: Formatting number with two decimal places"
- Reply: Sandy: "Re: Formatting number with two decimal places"
- Reply: Sandy: "Re: Formatting number with two decimal places"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|