H
Highpotech
i'am using the following statement to format a aql string
sql=string.format("INSERT INTO werkboek VALUES {0}, {1}....;"
m_WNR, m_Aantal...)
Aantal is a decimal and evaluates into 2.5D. Evalutating the sql strin
i get:
"INSERT INTO werkboek VALUES 7, 2,5....;" 'ATT there is a decimal
placeholder where i don't want it
I've changed te code for the placeholder {1} to {1:#.00} in order to
change te output to 2.5 instead of 2,5 but no luck.
Is there a other way to change ste code to get te requered output te
read:
"INSERT INTO werkboek VALUES 7, 2.5....;"
Thanks in advance
Alexander M. Polak
mailto:[email protected] mail is certified Virus
Free.Checked by AVG anti-virus system (http://www.grisoft.com).Version:
6.0.742 / Virus Database: 495 - Release Date: 19-08-2004
sql=string.format("INSERT INTO werkboek VALUES {0}, {1}....;"
m_WNR, m_Aantal...)
Aantal is a decimal and evaluates into 2.5D. Evalutating the sql strin
i get:
"INSERT INTO werkboek VALUES 7, 2,5....;" 'ATT there is a decimal
placeholder where i don't want it
I've changed te code for the placeholder {1} to {1:#.00} in order to
change te output to 2.5 instead of 2,5 but no luck.
Is there a other way to change ste code to get te requered output te
read:
"INSERT INTO werkboek VALUES 7, 2.5....;"
Thanks in advance
Alexander M. Polak
mailto:[email protected] mail is certified Virus
Free.Checked by AVG anti-virus system (http://www.grisoft.com).Version:
6.0.742 / Virus Database: 495 - Release Date: 19-08-2004