import strutils
    let num = 10.123456789
    echo num.formatFloat(ffDecimal, 4)
    

Reply via email to