I believe the STR() function in XSharp yields different results from Clipper when the decimal is not coded (which, although legit is certainly lazy
coding ...) and SET DECIMAL and / or SET FIXED have not been specified:
Harbour Clipper:
Code: Select all
Str(123.456,10) -> " 123"
Str(123.456,10,0) -> " 123"
Code: Select all
Str(123.456,10) -> " 123.46"
Str(123.456,10,0) -> " 123"