Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 03-10-2008, 02:17 PM   #1
In Runtime
 
Join Date: Mar 2006
Posts: 210
Default Fomatting a number in delphi

in delphi, is it possible to format a nuber so it always is in a certain format
i no its possiblt to format it so when it gets to a certainvalue it will be correct
eg FloatToStrF(AmountDue,ffNumber,3,1); would format it to be 101.1
when there was 5 charcters
but is it possible so it would lawyas be in xxx.x format
so if it was below 100, it would read 001.1
thanks
__________________
Intel Core 2 Duo E6600
Gigabyte GA965 DS3 Mobo
2GB DDR2SD RAM
XFX NVIDIA GTX260 Black
adamr100 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 03:50 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0