Function Ent

@author: Alexandre Sac–Morane alexandre.sac-morane@uclouvain.be

Convert a float into an integer.

Expand source code

  function c=ent(a,b)
  c = 0;
  while a-b*c>=0
      c=c+1;
  end
  c=c-1;