Calculation

0
hi guys,   I am working on an application to schedule school trips. Based on the risk level (very low to very high, which is an enumeration) and number of attendees (integer) I want Mendix to calculate the number of required medics we need to schedule for the trip. for risk level very low I need 1 medic for every 500 attendees for risk level very high I need 1 medic for every 50 attendees for al other risk levels I need 1 medic for every 100 attendees.   Mendix gives me this error message. Anyone familiar with this error and willing to help me out?   Thank you in advance.
asked
1 answers
0

You are trying to use the character / for division. However, in Mendix you need to use either the word div or the character : for division.

 

https://docs.mendix.com/refguide/arithmetic-expressions/#division

 

I hope this helps!

answered