You might want to check the encoding of the string since this is coming from a database. This can sometimes produce garbage in the string. Search the forums or docs if you need more information on encodings
This format string looks strange. But can you describe your situation a little more? What is displaying where. It’s hard to look at your code and match it to your description of the problem. Which column? Have you examined the data coming out of your database? Maybe there is a weird character or something. Give us more to go on.
@Alexis Colon Lugo , as @Norman Palardy and I have mentioned. You most likely need to change the Encoding. This isn’t a bug per say., but most likely an undefined encoding coming from the database.
The format is fine
It actually takes a 3 parts string positive; negative; zero - like Excel
See http://documentation.xojo.com/index.php/Format The formatSpec can be made up of up to three formats separated by semicolons. The first format is the format to be used for positive numbers. The second format is the format to be used for negative numbers and the third format is the format to be used for zero.