Is there an equivalent to the FORMAT() function (SQL Server) in Advantage Database Server?
For example using T-SQL I can write the following code:
SELECT FORMAT(1000000, '#,0.00');
This will return "1,000,000.00". But ADS does not have the FORMAT() function.
I tried the STR() function:
SELECT STR(1000000, 10, 2) FROM system.iota;
However the result is "1000000.00".
I'm not an expert in ADS but I hope this method will help, this is written in SQL using very basic methods you should be able to easily replicate it in ADS