I would like to write:
width = width*(pct*(width>height))
what would resolve to:
(if width is greater than height)
width = width*(pct*1)
if not
width = width *(pct*0)
is width = width*(pct*(width>height)) somehow possible?
width = width*(pct*(width>height))
what would resolve to:
(if width is greater than height)
width = width*(pct*1)
if not
width = width *(pct*0)
is width = width*(pct*(width>height)) somehow possible?