LD.FStr
Steven Delombaerde
Hello,Is there a way to specify the thousand separator and decimal point characters in the LD.FStr function, like in the "Text Format" setting? CoreSuite allows full control of the way the numbers are printed, regardless of system settings, this is the only place where it may not be possible ...
Regards,
Steven
Philipp Knecht
Hi StevenYou have several possibilities (Overloads of the FStr Function)
1: Defining and using a Global NumberFormatInfo
In the CommonScript:
Dim myNfi As System.Globalization.NumberFormatInfo
In the GenerateScript:
myNfi = New System.Globalization.NumberFormatInfo()
myNfi.NumberGroupSeparator = "!"
myNfi.NumberDecimalSeparator = "-"
Then you can use it like :
LD.FStr(123456789.12,"###,###.00",myNfi)
2: By referencing another Textbox which already has this settings defined via designer.
LD.Fstr(1234556.89,textBox111999)
hth
Steven Delombaerde
Great!Thanks
Steven
0
Please sign in to leave a comment.
Comments
0 comments