Your fields are probably being interpreted as integers. Try something like:
((&field1 * 1.00)/(&field2 * 1.00)) * 100 Jason -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher R. Thorne Sent: Friday, April 07, 2006 07:16 To: [email protected] Subject: [fme] ExpressionEvaluator & doing math Hello, I am trying to use the ExpressionEvaluator Transformers to do the following math: &field1/&field2 or (&field1/&field2) or (&field1/&field2)*100 getting percent. in all cases I get zero values even though unless the two values are equal I get 1. I made sure that the input values are numbers (10,0) and that the out is number (3,2) or (3,4). Still no change. The Source And Destination file type is ESRI Shape (DBF). Does anybody have any suggestion? Chris -- GIS Specialist, [EMAIL PROTECTED] Ottawa,ON,Canada ----------------------------- Get the maximum benefit from your FME, FME Objects, or SpatialDirect via our Professional Services team. Visit www.safe.com/services for details. Yahoo! Groups Links Get the maximum benefit from your FME, FME Objects, or SpatialDirect via our Professional Services team. Visit www.safe.com/services for details. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/fme/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
