I am trying to format a number but keep getting an error. This is my tag:

<db:tableData  name="data-amount" format="%.2f" 
    foreignTable="table" visibleFields="amount" storeField="amount" />

amount is a numeric field. I am using dbforms1.1.3.

I am getting this error:

570581 [Thread-6] ERROR org.dbforms.taglib.EmbeddedData  - Could not format
result using format '%.2f', error message is Cannot format a String with a
format using a f conversion character.

I tried using "%d" but this didn't work as well.

I will appreciate any assistance to resolve the problem.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to