And hopefully we will soon have string interpolation in Nim 
([PR](https://github.com/nim-lang/Nim/pull/6507)). Then it would be something 
like this (or similar, language is still in discussion):
    
    
    echo "$x%.4f"
    

Reply via email to