FAQ/izenda-and-udfs.md
... ...
@@ -36,7 +36,7 @@ end;
36 36
37 37
**3b) You can also use this function in the [[Expression|http://wiki.izenda.us/FAQ/UserGuides/15.0-Expressions-in-Izenda]] box on the 'Fields' tab's [[advanced panel|http://wiki.izenda.us/FAQ/advanced-field-settings]]**
38 38
```sql
39
- SafeDivide([UnitsInStock], [UnitsOnOrder])
39
+ SafeDivide([UnitsOnOrder], [UnitsInStock])
40 40
```
41 41
You can also use the Format dropdown to turn the result into your desired format. See the result below for what happens when we use the above expression in our Northwind Traders DataSource.
42 42