Nice :)

btw, I don't like the libc functions, which are currently used in strutils, 
because it produces unexpected output for some numbers, example:
    
    
    formatFloat(65000.45, ffDecimal) = 65000.4499999999970896
    
    
    Run

With ffDefault it's ok, but it will switch to scientific notation potentially.

Oh, and with precision = -1 it also gives unexpected output: 
    
    
    formatFloat(65000.45, ffDefault, -1) = 65000.4
    
    
    Run

Reply via email to