0

I want to bound the result value of division:

for example:

$$ \frac{x}{y}=z $$ $$ z>=1: 1, z<1: z $$

if z>=1 then z = 1

if z<1 then z = z

Can in be done using math operations? Thanks.

StubbornAtom
  • 17,052
Kusi
  • 3

1 Answers1

1

You could say that $z = \min(1, \frac{x}{y})$ in this case