howdy folks - hope your week is going fine.

I have an Oracle database table with a column defined as such:
gs_price NUMBER,

and I enter it using:
....
SET
gs_price = <cfqueryparam value="#Form.gs_price#" cfsqltype="CF_SQL_NUMERIC">,
....

Unfortunately, when I enter 2.50, it truncates the number to 2.5. 
It's a price so I need to keep it 2.50.  I suppose that I could just 
format it correctly after I get it but I was hoping to have it 
correct in the DB.

any thoughts?

-- 
Daniel Kessler

Department of Public and Community Health
University of Maryland
Suite 2387 Valley Drive
College Park, MD  20742-2611
301-405-2545 Phone
www.phi.umd.edu

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213087
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to