Fomatting a number in delphi

adamr1001

In Runtime
Messages
210
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
 
Back
Top Bottom