Reputation: 112
I'm new in standard ml and I'm using cpn tools.I have some constants:
val PHY=120;
val RB=1;
I want to calculate PHY/RB then I have created
val x=PHY/RB;
in cpn tools
but it has error when I write divide operator what is the problem?
please help me to solve this problem.
Thanks
Upvotes: 0
Views: 291
Reputation: 16135
The integer division operator in SML is called div
.
val x = PHY div RB
Upvotes: 0