Decision Optimization

 View Only
  • 1.  Error in OPL

    Posted 12 days ago

    I want to define like
    int c = floor(a/b);
    here
    a  is a float number and b  is an integer. I am getting error while doing like this.



    ------------------------------
    Athira Babu
    ------------------------------


  • 2.  RE: Error in OPL

    Posted 12 days ago

    Hi

    int c = ftoi( floor(a/b));


    ------------------------------
    [Alex] [Fleischer]
    [Data and AI Technical Sales]
    [IBM]
    ------------------------------