|
|
|
#1
|
||||
|
||||
|
Use this
Function FloatToStrDeci(Float: Extended; DeciCount: Integer): String; Begin Result:= Format('%.'+IntToStr(DeciCount)+'n', [Float]); StringChange(Result, ',', ','); while ((Result[Length(Result)] = '0') or (Result[Length(Result)] = ',')) and (Pos(',', Result) > 0) do SetLength(Result, Length(Result)-1); End; FloatToStrDeci(Float value,The number of decimals you want) |
| The Following User Says Thank You to Razor12911 For This Useful Post: | ||
buttignol (10-08-2016) | ||
| Sponsored Links |
|
#2
|
||||
|
||||
|
I can not add
LabelPct.Caption := |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Blackbox Inno Setup Script | Kurutucu | Conversion Tutorials | 1190 | 18-08-2019 22:43 |
| Useful Dll for Inno Setup users | peterf1999 | Conversion Tutorials | 88 | 01-12-2017 16:00 |
| Cant get inno setup to decompress archive during installation! | surumanboy | PC Games | 16 | 29-05-2013 00:26 |
| Progress bar for Tasks | danswano | PC Games - CD/DVD Conversions | 22 | 09-03-2013 12:09 |