designPXValidate function

double designPXValidate(
  1. dynamic px
)

Implementation

double designPXValidate(px){
  px>100 ?px=100:null;
  px<1 ?px=1:null;
  return px;
}