My code: [code]
price = system.db.runNamedQuery(‘Costing/FabricPricing’, params)
if qty >= 15:
price = float(price)/2
event.source.parent.getComponent(‘Price 3’).floatValue = price
[/code]
the price returned in this situation is $225, so divided by two will be a float value of 112.50, but it always comes out as 113? Every way I’ve tried always comes out to 113. I have the decimal format configured to $#,##0.00
Any ideas on the culprit?