this is really great:
Code: Select all
local nValue as decimal
nValue := 123.45m
Console.WriteLine( i"nValue: {nValue:######.0000}" ) // nValue: 123,4500
Console.WriteLine( i"nValue {nValue:F6}" ) // nValue: 123,450000
Wolfgang
P.S. I have also adjusted the wiki: https://docs.xsharp.it/doku.php?id=strings