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
val x=PHY/RB;
The integer division operator in SML is called div.
div
val x = PHY div RB
2.1m questions
2.1m answers
60 comments
57.0k users