--- On Tue, 8/12/08, Alberto Narduzzi <[EMAIL PROTECTED]> wrote: From: Alberto Narduzzi <[EMAIL PROTECTED]> Subject: Re: [advanced_delphi] FloatToStrF without zero padding To: advanced_delphi@yahoogroups.com Date: Tuesday, August 12, 2008, 1:32 PM
>that's obvious, but why don't you just try to use a lower precision in >the first place? Also considering what you state hereafter... The deal is, the function needs to take different length of digits after the decimal separator (0.1, 0.001, 0.010031, 1, 1.00000001), so the output string won't look very nice if all of them presented using the same digit format, even if I used lower precision the result is still the same (using precision of 3 gave me '0.010'). The main issue is *good-looking-numbering-format*, the precision of the values comes next (I know I'm gonna get some disagreeing eyes looking to me or my mail when I state it). I've come to consider just recently other meaning of the trailing zeros in my app can represent. Thx for all of your help, you're all "my-hobby"-saver (or something like that). Pardon for my English ^^ CoolKid K-Qha http://kha.web.id ---------------------